apphost.addon.media.contract-describe ​
Project the supported Buzz /media contract. No secrets.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-apphost |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
host | string | Yes | — | — |
identity_app_uuid | uuid | No | — | — |
namespace | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
media_url | string | No | — | — |
auth | json | No | — | — |
durable_volume | string | No | — | — |
shared_document_plane | boolean | No | — | — |
identity_app_uuid | uuid | No | — | — |
authorization | string | No | — | — |
failure_reason | string | No | — | Engine-stamped failure reason |
failure_type | string | No | — | Stable failure classification |
failed_action | string | No | — | Action that failed |
failed_at_state | string | No | — | State when the workflow failed |
failed_step | json | No | — | Failed DAG step envelope |
failed_layer | json | No | — | Failed DAG layer envelope |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "apphost.addon.media.contract-describe",
"initial_data": {
"host": "value"
}
}