/api/put-v1-projects-projectuuid-shortlinks-uuid-0ff3cbb8d0
Войти
Все методы Short LinkShortLinkController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
PUT/v1/projects/{projectUuid}/shortlinks/{uuid}Authenticated

PUT shortlinks

Обновляет shortlink по UUID внутри проекта.

Operation ID
ShortLinkController.update.PUT.v1_projects__projectUuid__shortlinks__uuid_
Handler
cdp.gateway.cdp_gateway.link.controller.ShortLinkController#update
Consumes
Produces
Параметры2
Request bodyUpdateShortLinkRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

PUT/v1/projects/{projectUuid}/shortlinks/{uuid}
Path segments
v1projects{projectUuid}shortlinks{uuid}
Security
isAuthenticated()
Parameters

Параметры

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

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

Request bodyUpdateShortLinkRequestDTO
Nullable: Нет
UpdateShortLinkRequestDTO
object • UpdateShortLinkRequestDTO
uuid
String
optional • nullable
userId
String
optional • nullable
На gateway проставляется из JWT.
project
String
optional • nullable
longLink
String
optional • nullable
shortLink
String
optional • nullable
link
String
optional • nullable
title
String
optional • nullable
description
String
optional • nullable
shortDescription
String
optional • nullable
domain
String
optional • nullable
utm_source
String
optional • nullable
utm_campaign
String
optional • nullable
utm_medium
String
optional • nullable
utm_content
String
optional • nullable
utm_term
String
optional • nullable
params
List<UrlParamCreateHttpRequestDTO>
optional • nullable
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