/api/post-v1-projects-projectuuid-shortlinks-8230c8cd97
Войти
Все методы Short LinkShortLinkController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/shortlinksAuthenticated

POST shortlinks

Создаёт shortlink внутри проекта.

Operation ID
ShortLinkController.create.POST.v1_projects__projectUuid__shortlinks
Handler
cdp.gateway.cdp_gateway.link.controller.ShortLinkController#create
Consumes
Produces
Параметры1
Request bodyShortLinkCreateRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

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

Параметры

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

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

Request bodyShortLinkCreateRequestDTO
Nullable: Нет
ShortLinkCreateRequestDTO
object • ShortLinkCreateRequestDTO
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
subscriptionUuid
String
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