/api/post-v1-projects-projectuuid-reports-2c731d8a0e
Войти
Все методы ReportReportController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/reportsAuthenticated

POST reports

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

Operation ID
ReportController.createReport.POST.v1_projects__projectUuid__reports
Handler
cdp.gateway.cdp_gateway.report.controller.ReportController#createReport
Consumes
Produces
Параметры1
Request bodyCreateReportRequestDTO
Response bodyResponseWrapper<Object>
Request map

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

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

Параметры

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

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

Request bodyCreateReportRequestDTO
Nullable: Нет
CreateReportRequestDTO
object • CreateReportRequestDTO
title
String
required • not-null
type
String
required • not-null
groupBy
String
required • not-null
series
List<MetricDTO>
required • not-null
config
ReportConfigDTO
optional • not-null • schema=ReportConfigDTO
ReportConfigDTO
object • ReportConfigDTO
colorScheme
List<String>
optional • nullable
seriesColors
Map<String, String>
optional • nullable
userUuid
String
optional • nullable
На gateway проставляется из JWT.
projectUuid
String
optional • nullable
linkUuid
String
optional • nullable
definitionJson
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