apphost.site.domain-list ​
List custom hostnames attached to a hosted site (ACM/CloudFront attach status)
List custom hostnames attached to one hosted site.
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 |
site_uuid | uuid | Yes | — | hosted_site uuid whose custom hostnames to list |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | json | No | — | Domain rows — domain_uuid, hostname, status, url, timestamps |
count | 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 | Custom hostnames returned | count |
failed | FAILURE | Apphost workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "apphost.site.domain-list",
"initial_data": {
"organization_uuid": "value",
"site_uuid": "value"
}
}