/api/post-v1-projects-projectuuid-tag-managers-uuid-scripts-f2df0eea3e
Войти
Все методы Tag ManagerTagManagerController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/tag-managers/{uuid}/scriptsAuthenticated

POST scripts

Добавляет пользовательский скрипт в tag manager контейнер.

Operation ID
TagManagerController.createScript.POST.v1_projects__projectUuid__tag-managers__uuid__scripts
Handler
cdp.gateway.cdp_gateway.tagmanager.controller.TagManagerController#createScript
Consumes
Produces
Параметры2
Request bodyTagManagerScriptCreateRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

POST/v1/projects/{projectUuid}/tag-managers/{uuid}/scripts
Path segments
v1projects{projectUuid}tag-managers{uuid}scripts
Security
isAuthenticated()
Parameters

Параметры

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

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

Request bodyTagManagerScriptCreateRequestDTO
Nullable: Нет
TagManagerScriptCreateRequestDTO
object • TagManagerScriptCreateRequestDTO
tagManagerUuid
String
required • not-null
projectUuid
String
required • not-null
userUuid
String
required • not-null
title
String
required • not-null
description
String
optional • nullable
code
String
required • not-null
scriptType
String
optional • not-null
triggerType
String
optional • not-null
triggerConfigJson
String
optional • not-null
priority
int
optional • not-null
enabled
boolean
optional • not-null
Response bodyResponseWrapper<Object>
Nullable: Нет
ResponseWrapper<Object>
object • ResponseWrapper<Object>
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