/api/put-v1-projects-projectuuid-scripts-scriptuuid-82a66f10b8
Войти
Все методы ScriptScriptController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
PUT/v1/projects/{projectUuid}/scripts/{scriptUuid}Authenticated

PUT scripts

Обновляет name/description/status script-карточки.

Operation ID
ScriptController.update.PUT.v1_projects__projectUuid__scripts__scriptUuid_
Handler
cdp.gateway.cdp_gateway.company.features.script.controller.ScriptController#update
Consumes
Produces
Параметры2
Request bodyScriptUpdateGatewayRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

PUT/v1/projects/{projectUuid}/scripts/{scriptUuid}
Path segments
v1projects{projectUuid}scripts{scriptUuid}
Security
isAuthenticated()
Parameters

Параметры

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

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

Request bodyScriptUpdateGatewayRequestDTO
Nullable: Нет
ScriptUpdateGatewayRequestDTO
object • ScriptUpdateGatewayRequestDTO
name
String
required • not-null
description
String
optional • nullable
status
ScriptStatusDTO
required • not-null • schema=ScriptStatusDTO
ScriptStatusDTO
enum • ScriptStatusDTO
DRAFTACTIVEARCHIVED
Поля не описаны в manifest.
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