GET
/ng-cms/content/{projectId}/{typeKey}https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}List content entries
Параметры запроса
projectIdstringThe unique identifier of the project (bucket)
typeKeystringThe key or ID of the content type to list entries for
statusnumberFilter by entry status: 1 = Draft, 2 = Published, 3 = Archived
searchstringFull-text search term applied across entry fields
fieldsstringField filter in key:value format (e.g. fields=title:Hello). Can be repeated for multiple filters.
offsetnumberпо умолчанию: 0Number of entries to skip (0-based)
limitnumberпо умолчанию: 50Maximum number of entries to return
Ответы
200Paginated list of content entries.
тип: PagedApiResponse<CmsContentEntryDto>
401Unauthorized. A valid bearer token is required.
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}?status=2&offset=0&limit=50' \
--header 'Authorization: Bearer <token>'Response Example200
{
"total": 2,
"list": [
{
"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
},
{
"id": "ce_a1b2c3d4e5f6",
"projectId": "my-project-id",
"type": "blog-post",
"status": 1,
"fields": {
"title": "Draft Post",
"body": "<p>Work in progress</p>"
},
"schemaVersion": 2,
"createdBy": 42,
"updatedBy": null,
"updatedByName": null,
"publishedBy": null,
"createdAt": "2025-06-10T14:30:00Z",
"updatedAt": "2025-06-10T14:30:00Z",
"publishedAt": null,
"archivedAt": null
}
]
}KONSO