POST /ng-cms/content/{projectId}/{typeKey}/{entryId}/publish

Publish a content entry

Параметры запроса

projectId string
Обязательный

Unique identifier of the project

typeKey string
Обязательный

Key of the content type the entry belongs to

entryId string
Обязательный

Unique identifier of the content entry to publish

publishedAt string
Необязательный

Optional ISO 8601 date-time to schedule the publish time. If omitted, the entry is published immediately.

Ответы

200 Entry successfully published.

тип: ApiResponse<bool>

success boolean Always true on success
result boolean true when the entry was published
errors ErrorDetail[] Empty on success
401 Unauthorized. A valid API key is required.
404 Not Found. No content entry or project exists for the given identifiers.
500 Unexpected server error.

тип: ApiResponse<bool>

success boolean Always false
errors ErrorDetail[] Server-side errors
correlationId string Trace ID
message string Error message
stack string Stack trace (non-production only)

Оставаясь на сайте, Вы даете свое согласие на использование файлов cookie