GET/ng-cms/content/{projectId}/{typeKey}/{entryId}

Get a content entry by ID

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

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

The unique identifier of the project (bucket)

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

The key or ID of the content type

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

The unique identifier of the content entry

Ответы

200The requested content entry.

тип: CmsContentEntryDto

idstringUnique identifier of the entry
projectIdstringProject (bucket) this entry belongs to
typestringKey of the content type this entry is based on
statusnumberEntry status: 1 = Draft, 2 = Published, 3 = Archived
fieldsobjectKey-value map of field data matching the content type schema
schemaVersionnumberSchema version at the time the entry was last saved
createdBynumberID of the user who created the entry
updatedBynumberID of the user who last updated the entry
updatedByNamestringName of the user who last updated the entry
publishedBynumberID of the user who published the entry
createdAtstringISO 8601 timestamp of creation
updatedAtstringISO 8601 timestamp of last update
publishedAtstringISO 8601 timestamp of when the entry was published, or null
archivedAtstringISO 8601 timestamp of when the entry was archived, or null
401Unauthorized. A valid bearer token is required.
404Not Found. No content entry exists with the given ID.
412Precondition Failed. The project's current plan does not allow access to this resource, or payment is required to proceed.
500Unexpected server error.

тип: ApiResponse<T>

successbooleanAlways false
errorsErrorDetail[]List of server-side errors
correlationIdstringUnique ID for tracing the error
messagestringError message
stackstringStack trace (non-production only)

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