/ng-cms/content/{projectId}/{typeKey}/{entryId}https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId}smart_toyAgentic specGet a content entry by ID
Получает одиночную запись контента по ее уникальному идентификатору (ID).)
Параметры запроса
projectIdstringThe unique identifier of the project (bucket)
typeKeystringThe key or ID of the content type
entryIdstringThe unique identifier of the 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 nullтип: ApiResponse<T>
successbooleanAlways falseerrorsErrorDetail[]List of server-side errorscorrelationIdstringUnique ID for tracing the errormessagestringError messagestackstringStack trace (non-production only)curl --request GET \
--url https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId} \
--header 'Authorization: Bearer <token>'{
"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
}Исходный код
Референсные реализации этого эндпоинта — если поведение неочевидно, проще свериться с кодом, чем гадать.
Клиентские библиотеки
Официальные SDK для вызова этого метода из вашего кода — без ручной сборки запроса.
TS