Skip to content
OpenPostDocs
OpenPostDocs
Publications

Preview exact dates for selected drafts without queuing them

POST/publications/batch-schedule/preview

Authorization

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/publications/batch-schedule/preview" \  -H "Content-Type: application/json" \  -d '{    "end_date": "2019-08-24",    "hour": 0,    "interval_days": 1,    "minute": 0,    "publication_ids": [      "string"    ],    "start_date": "2019-08-24",    "use_slots": true,    "workspace_id": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/BatchSchedulePreviewOutputBody.json",  "items": [    {      "error": "string",      "expected_revision": 0,      "preserved": true,      "publication_id": "string",      "scheduled_at": "string",      "title": "string"    }  ],  "timezone": "string"}