GET/ng-cms/content-type-templates/{projectId}smart_toyAgentic spec

List content type templates

Получает каталог предопределенных шаблонов типов контента, доступных для массового применения к проекту.

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

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

The unique identifier of the project

Ответы

200List of available content type templates, ordered by displayOrder.

тип: CmsProjectTemplateDto[]

idstringUnique identifier of the template
codestringMachine-readable template code used to apply it (e.g. 'website', 'blog')
namestringHuman-readable template name
descriptionstringShort description of the template
useCasestringTypical use case this template is designed for
versionnumberTemplate version
contentTypesCmsProjectTemplateContentTypeDefinition[]Content type definitions bundled in this template
templateKeystringIdentifier unique within this template, used to resolve reference fields between the template's own content types
namestringDisplay name the content type will be created with
keystringMachine-readable key the content type will be created with
descriptionstringOptional description of the content type
displayFieldstringSchema field key to use as the display/title field
schemaCmsSchemaField[]Field definitions for the content type. Reference fields carry a referenceTemplateKey instead of a real content type ID, resolved when the template is applied
displayOrdernumberSort order used to display templates
isActivebooleanWhether the template is currently available
401Unauthorized. A valid API key is required.
412Precondition Failed. The project's current plan does not allow access to this resource, or payment is required.
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