File tree Expand file tree Collapse file tree 7 files changed +76
-8
lines changed
Expand file tree Collapse file tree 7 files changed +76
-8
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,15 @@ def post(self, *args):
6868 content:
6969 application/json:
7070 schema:
71- $ref: '#/components/schemas/AggregateMetadata'
71+ type: string
72+ format: uuid
73+ description: The uuid of the created aggregate.
74+ headers:
75+ Location:
76+ schema:
77+ type: string
78+ format: uri
79+ description: Url of the created aggregate.
7280 400:
7381 $ref: '#/components/responses/400-BadRequest'
7482 401:
Original file line number Diff line number Diff line change @@ -70,7 +70,15 @@ def post(self, *args):
7070 content:
7171 application/json:
7272 schema:
73- $ref: '#/components/schemas/ForecastMetadata'
73+ type: string
74+ format: uuid
75+ description: The uuid of the created forecast.
76+ headers:
77+ Location:
78+ schema:
79+ type: string
80+ format: uri
81+ description: Url of the created forecast.
7482 400:
7583 $ref: '#/components/responses/400-BadRequest'
7684 401:
@@ -330,7 +338,15 @@ def post(self, *args):
330338 content:
331339 application/json:
332340 schema:
333- $ref: '#/components/schemas/CDFForecastGroupMetadata'
341+ type: string
342+ format: uuid
343+ description: The uuid of the created probabilistic forecast.
344+ headers:
345+ Location:
346+ schema:
347+ type: string
348+ format: uri
349+ description: Url of the created probabilistic forecast.
334350 400:
335351 $ref: '#/components/responses/400-BadRequest'
336352 401:
Original file line number Diff line number Diff line change @@ -67,7 +67,15 @@ def post(self, *args):
6767 content:
6868 application/json:
6969 schema:
70- $ref: '#/components/schemas/ObservationMetadata'
70+ type: string
71+ format: uuid
72+ description: The uuid of the created observation.
73+ headers:
74+ Location:
75+ schema:
76+ type: string
77+ format: uri
78+ description: Url of the created observation.
7179 400:
7280 $ref: '#/components/responses/400-BadRequest'
7381 401:
Original file line number Diff line number Diff line change @@ -50,8 +50,20 @@ def post(self):
5050 schema:
5151 $ref: '#/components/schemas/PermissionPostSchema'
5252 responses:
53- 200 :
53+ 201 :
5454 description: Permission created successfully.
55+ content:
56+ application/json:
57+ schema:
58+ type: string
59+ format: uuid
60+ description: The uuid of the created permission.
61+ headers:
62+ Location:
63+ schema:
64+ type: string
65+ format: uri
66+ description: Url of the created permission.
5567 400:
5668 $ref: '#/components/responses/400-BadRequest'
5769 404:
Original file line number Diff line number Diff line change @@ -59,7 +59,15 @@ def post(self):
5959 content:
6060 application/json:
6161 schema:
62- $ref: '#/components/schemas/ReportMetadata'
62+ type: string
63+ format: uuid
64+ description: The uuid of the created report.
65+ headers:
66+ Location:
67+ schema:
68+ type: string
69+ format: uri
70+ description: Url of the created report.
6371 400:
6472 $ref: '#/components/responses/400-BadRequest'
6573 401:
Original file line number Diff line number Diff line change @@ -48,7 +48,15 @@ def post(self):
4848 content:
4949 application/json:
5050 schema:
51- $ref: '#/components/schemas/RoleSchema'
51+ type: string
52+ format: uuid
53+ description: The uuid of the created role.
54+ headers:
55+ Location:
56+ schema:
57+ type: string
58+ format: uri
59+ description: Url of the created role.
5260 400:
5361 $ref: '#/components/responses/400-BadRequest'
5462 404:
Original file line number Diff line number Diff line change @@ -57,7 +57,15 @@ def post(self, *args):
5757 content:
5858 application/json:
5959 schema:
60- $ref: '#/components/schemas/SiteMetadata'
60+ type: string
61+ format: uuid
62+ description: The uuid of the created site.
63+ headers:
64+ Location:
65+ schema:
66+ type: string
67+ format: uri
68+ description: Url of the created site.
6169 400:
6270 $ref: '#/components/responses/400-BadRequest'
6371 401:
You can’t perform that action at this time.
0 commit comments