/ng-cms/content/{projectId}/{typeKey}/{entryId}https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId}smart_toyAgentic specUpdate a content entry
Обновляет поля существующего элемента контента, возвращая обновленную запись.
Параметры запроса
projectIdstringThe unique identifier of the project (bucket)
typeKeystringThe key or ID of the content type
entryIdstringThe ID of the content entry to update
Тело запроса
UpdateContentEntryRequestidstringID of the entry being updated
fieldsobjectKey-value map of field data. Keys must match the field keys defined in the content type schema.
Ответы
тип: ApiResponse<boolean>
successbooleanIndicates whether the request was successfulresultbooleanAlways true on successerrorsErrorDetail[]List of errors (empty on success)тип: ApiResponse<T>
isValidbooleanAlways false for validation errorsvalidationErrorsValidationError[]List of validation failuresnamestringField that failed validationattemptedValueobjectThe value that was submittedmessagestringHuman-readable validation messageтип: ApiResponse<T>
successbooleanAlways falseerrorsErrorDetail[]List of server-side errorscorrelationIdstringUnique ID for tracing the errormessagestringError messagestackstringStack trace (non-production only)curl --request PUT \
--url https://apis-spb.konso.io/ng-cms/content/{projectId}/{typeKey}/{entryId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<entryId>",
"fields": {
"title": "Updated Post Title",
"body": "<p>Updated content</p>",
"publishedAt": "2025-06-15T10:00:00Z"
}
}'{
"success": true,
"result": true,
"errors": []
}Исходный код
Референсные реализации этого эндпоинта — если поведение неочевидно, проще свериться с кодом, чем гадать.
Клиентские библиотеки
Официальные SDK для вызова этого метода из вашего кода — без ручной сборки запроса.
TS