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

POST targets

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

Operation ID
AutoPostingController.createTarget.POST.v1_projects__projectUuid__autoposting_targets
Handler
cdp.gateway.cdp_gateway.autoposting.controller.AutoPostingController#createTarget
Consumes
Produces
Параметры1
Request bodyCreateAutoPostingTargetRequestDTO
Response bodyAutoPostingRestResponse<AutoPostingTargetDTO>
Request map

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

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

Параметры

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

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

Request bodyCreateAutoPostingTargetRequestDTO
Nullable: Нет
CreateAutoPostingTargetRequestDTO
object • CreateAutoPostingTargetRequestDTO
accountId
String
required • not-null
targetType
AutoPostingTargetTypeDTO
required • not-null • schema=AutoPostingTargetTypeDTO
AutoPostingTargetTypeDTO
enum • AutoPostingTargetTypeDTO
TG_CHATTG_CHANNELVK_GROUP_WALLVK_CLIPSVK_STORIESMAX_CHANNELOK_GROUPDZEN_RSSDZEN_TG_IMPORT
Поля не описаны в manifest.
externalTargetId
String
required • not-null
displayName
String
optional • nullable
isDefault
boolean
optional • not-null
Response bodyAutoPostingRestResponse<AutoPostingTargetDTO>
Nullable: Нет
AutoPostingRestResponse<AutoPostingTargetDTO>
object • AutoPostingRestResponse<AutoPostingTargetDTO>
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