/api/post-v1-projects-projectuuid-scripts-scriptuuid-versions-versionuuid-publish-c00184fdff
Войти
Все методы ScriptScriptController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/scripts/{scriptUuid}/versions/{versionUuid}/publishAuthenticated

POST publish

Публикует draft-версию script-карточки.

Operation ID
ScriptController.publishVersion.POST.v1_projects__projectUuid__scripts__scriptUuid__versions__versionUuid__publish
Handler
cdp.gateway.cdp_gateway.company.features.script.controller.ScriptController#publishVersion
Consumes
Produces
Параметры3
Request bodyНет
Response bodyResponseWrapper<Object>
Request map

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

POST/v1/projects/{projectUuid}/scripts/{scriptUuid}/versions/{versionUuid}/publish
Path segments
v1projects{projectUuid}scripts{scriptUuid}versions{versionUuid}publish
Security
isAuthenticated()
Parameters

Параметры

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

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

Request bodyНет
Nullable: Нет
У этого метода нет request body schema.
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