/api/post-v1-projects-projectuuid-goals-4cb25aeef5
Войти
Все методы GoalGoalController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/goalsAuthenticated

POST goals

Маршрут POST /v1/projects/{projectUuid}/goals из GoalController. Детализация собрана из API manifest gateway.

Operation ID
GoalController.create.POST.v1_projects__projectUuid__goals
Handler
cdp.gateway.cdp_gateway.project.controller.GoalController#create
Consumes
Produces
Параметры1
Request bodyGoalCreateRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

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

Параметры

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

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

Request bodyGoalCreateRequestDTO
Nullable: Нет
GoalCreateRequestDTO
object • GoalCreateRequestDTO
description
String
optional • nullable
shortDescription
String
optional • nullable
title
String
required • not-null
project
String
required • not-null
pixel
String
required • not-null
userId
String
required • not-null
eventName
String
optional • nullable
params
List<GoalParamCreateRequestDTO>
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