GET
/ng-cms/content/{projectId}/{typeKey}/{entryId}https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId}Get a content entry by ID
Параметры запроса
projectIdstringThe unique identifier of the project (bucket)
typeKeystringThe key or ID of the content type
entryIdstringThe unique identifier of the content entry
Ответы
200The requested content entry.
тип: CmsContentEntryDto
idstringUnique identifier of the entryprojectIdstringProject (bucket) this entry belongs totypestringKey of the content type this entry is based onstatusnumberEntry status: 1 = Draft, 2 = Published, 3 = ArchivedfieldsobjectKey-value map of field data matching the content type schemaschemaVersionnumberSchema version at the time the entry was last savedcreatedBynumberID of the user who created the entryupdatedBynumberID of the user who last updated the entryupdatedByNamestringName of the user who last updated the entrypublishedBynumberID of the user who published the entrycreatedAtstringISO 8601 timestamp of creationupdatedAtstringISO 8601 timestamp of last updatepublishedAtstringISO 8601 timestamp of when the entry was published, or nullarchivedAtstringISO 8601 timestamp of when the entry was archived, or null401Unauthorized. 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 falseerrorsErrorDetail[]List of server-side errorscorrelationIdstringUnique ID for tracing the errormessagestringError messagestackstringStack trace (non-production only)Язык:
expand_more
Пример запроса
curl --request GET \
--url https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId} \
--header 'Authorization: Bearer <token>'Response Example200
{
"id": "ce_x9y8z7w6v5u4",
"projectId": "my-project-id",
"type": "blog-post",
"status": 2,
"fields": {
"title": "My First Post",
"body": "<p>Hello world</p>"
},
"schemaVersion": 2,
"createdBy": 42,
"updatedBy": 42,
"updatedByName": "Jane Smith",
"publishedBy": 42,
"createdAt": "2025-05-20T08:00:00Z",
"updatedAt": "2025-06-01T10:00:00Z",
"publishedAt": "2025-06-01T10:00:00Z",
"archivedAt": null
}KONSO