apphost.site.release-list ​
Paginated release history for a hosted site, flagging the currently served release
List HostedReleases for one site, newest first.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-apphost |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Org that owns the site; rows outside it read as not found |
site_uuid | uuid | Yes | — | hosted_site uuid whose release history to list |
limit | integer | No | 50 | Page size (default 50, capped at 200) |
offset | integer | No | 0 | Rows to skip from the newest release (default 0) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | json | No | — | Release rows — release_uuid, status, bundle fields, created_at, is_active |
count | integer | No | — | — |
total | integer | No | — | — |
limit | integer | No | — | — |
offset | integer | No | — | — |
error | string | No | — | — |
error_type | string | No | — | Error-as-field envelope populated when query() raises. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
listed | SUCCESS | Hosted site release history returned | site_uuid, count |
failed | FAILURE | Apphost workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "apphost.site.release-list",
"initial_data": {
"organization_uuid": "value",
"site_uuid": "value"
}
}