Skip to main content
Browse Documentation
HTTP - Management

Scheduling entry publish and unpublish

Created by zengenti, last updated 25 Aug 2021

Scheduling allows us to set a date and time for an entry to be published or unpublished.

PUT/api/management/projects/{projectId}/entries/{entryId}/schedules/{scheduleType}?language={language}

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
entryIdquerystringuuidThe entry identifier as a 128 bit GUIDtrue

Examples

Scheduling an entry to publish in the future

PUT: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/schedules/publish?language=en-gb

{
    "dateTime" : "2022-06-24T00:00:00Z"
}

Scheduling an entry to unpublish

PUT: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/schedules/unpublish?language=en-gb

{
    "dateTime" : "2023-06-24T00:00:00Z"
}

Responses

HTTP status codeReasonModel
201CreatedEntry
401UnauthorizedError
404Entry not foundError
500Internal server errorError