Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.alibaba.create_oss_bucket ​

Create Alibaba OSS bucket for SPAD static site

Create Alibaba OSS bucket for a SPAD site.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringYes—SpadSite.id whose OSS bucket should be created
organization_uuidstringNo—Organization that owns the site
slugstringNo—Bucket-name slug; falls back to site.slug when omitted
cloud_connection_uuidstringNo—Alibaba CloudConnection.uuid; falls back to the site's cloud connection
workflow_run_idstringNo—Injected by the parent DAG; propagated through state_data
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)

Output Schema ​

FieldTypeRequiredDefaultDescription
oss_bucket_namestringYes—Name of the newly created OSS bucket
oss_regionstringYes—OSS region identifier (oss-{region})
oss_endpointstringYes—Public OSS endpoint {bucket}.{oss_region}.aliyuncs.com
completed_atstringNo—ISO8601 timestamp when the step reached COMPLETED
failed_atstringNo—ISO8601 timestamp when the step reached FAILED
failure_reasonstringNo—Reason recorded on the failure path
workflow_run_idstringNo—Injected by the parent DAG; propagated through state_data
site_uuidstringNo—SpadSite.id whose OSS bucket should be created
organization_uuidstringNo—Organization that owns the site
slugstringNo—Bucket-name slug; falls back to site.slug when omitted
cloud_connection_uuidstringNo—Alibaba CloudConnection.uuid; falls back to the site's cloud connection
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)
errorstringNo—Engine-stamped failure metadata
error_typestringNo—Engine-stamped failure metadata
failed_at_statejsonNo—Engine-stamped failure metadata
failed_layerjsonNo—Engine-stamped failure metadata
failed_stepjsonNo—Engine-stamped failure metadata

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—runStep accepted
runNoNo—completeCreating OSS bucket
completedNoYesYes—OSS bucket created
failedNoYesNo—OSS bucket creation failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrunStart bucket creation
runcompletecompletedMark step completed
* (any state)failfailedMark step failed

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "spad.ltip.alibaba.create_oss_bucket",
  "initial_data": {
    "site_uuid": "value"
  }
}