/api/post-v1-projects-projectuuid-shortlinks-domains-domainuuid-default-8628e5c42e
Войти
Все методы Short LinkShortLinkController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/shortlinks/domains/{domainUuid}/defaultAuthenticated

POST default

Делает подтверждённый домен shortlink доменом проекта по умолчанию.

Operation ID
ShortLinkController.setDefaultDomain.POST.v1_projects__projectUuid__shortlinks_domains__domainUuid__default
Handler
cdp.gateway.cdp_gateway.link.controller.ShortLinkController#setDefaultDomain
Consumes
Produces
Параметры2
Request bodyНет
Response bodyResponseWrapper<ShortLinkProjectDomainDTO>
Request map

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

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

Параметры

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

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

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