publisher.calendar.list
List posts between two dates with their status — draft, waiting, scheduled, live, needs_changes, failed. Pure DB read.
Posts in a date window, with the status the calendar colours by.
Overview
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-publisher |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
from | string | No | — | Start date or ISO timestamp, inclusive |
to | string | No | — | End date or ISO timestamp, inclusive |
profile_uuid | string | No | — | — |
status | string | No | — | — |
limit | integer | No | — | — |
offset | integer | No | — | — |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | No | — | — |
items | json | No | — | date, platform, profile_name, title, status |
count | integer | No | — | — |
total | integer | No | — | — |
failure_reason | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
Outcomes
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
completed | SUCCESS | Publisher studio read completed | organization_uuid |
failed | FAILURE | Publisher studio read failed | failure_reason |
API Usage
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "publisher.calendar.list",
"initial_data": {
"organization_uuid": "value"
}
}