/api/post-v1-projects-projectuuid-autoposting-templates-36eeca8203
Войти
Все методы Auto PostingAutoPostingController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/autoposting/templatesAuthenticated

POST templates

Маршрут POST /v1/projects/{projectUuid}/autoposting/templates из AutoPostingController. Детализация собрана из API manifest gateway.

Operation ID
AutoPostingController.createTemplate.POST.v1_projects__projectUuid__autoposting_templates
Handler
cdp.gateway.cdp_gateway.autoposting.controller.AutoPostingController#createTemplate
Consumes
Produces
Параметры1
Request bodyCreateAutoPostingTemplateRequestDTO
Response bodyAutoPostingRestResponse<AutoPostingTemplateDTO>
Request map

Маршрут и контракт запроса

POST/v1/projects/{projectUuid}/autoposting/templates
Path segments
v1projects{projectUuid}autopostingtemplates
Security
isAuthenticated()
Parameters

Параметры

ИмяИсточникТипОбязательныйNullableSchema
projectUuid
pathStringДаНет
Request / Response

Тела запроса и ответа

Request bodyCreateAutoPostingTemplateRequestDTO
Nullable: Нет
CreateAutoPostingTemplateRequestDTO
object • CreateAutoPostingTemplateRequestDTO
name
String
required • not-null
description
String
optional • nullable
contentModelJson
String
required • not-null
Response bodyAutoPostingRestResponse<AutoPostingTemplateDTO>
Nullable: Нет
AutoPostingRestResponse<AutoPostingTemplateDTO>
object • AutoPostingRestResponse<AutoPostingTemplateDTO>
success
boolean
required • not-null
data
T
optional • nullable
error
CdpErrorResponse
optional • nullable • schema=CdpErrorResponse
CdpErrorResponse
object • CdpErrorResponse
errorId
String
required • not-null
code
String
required • not-null
message
String
required • not-null
details
Map<String, Object>
optional • not-null
fieldErrors
List<CdpFieldError>
optional • not-null
timestamp
long
optional • not-null
meta
Map<String, Object>
optional • not-null