Skip to content

Commit 56197e4

Browse files
committed
Added PUT /api/v2/global-tasks/{identifier}
1 parent bd4c62c commit 56197e4

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

docs/api_reference/reference/iris.v2.1.0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ info:
8686
* Added DELETE /api/v2/alerts-filters/{identifier}
8787
* Added POST /api/v2/global-tasks
8888
* Added GET /api/v2/global-tasks/{identifier}
89+
* Added PUT /api/v2/global-tasks/{identifier}
8990
* Added DELETE /api/v2/global-tasks/{identifier}
9091
* Deprecated POST /manage/cases/add in favor of POST /api/v2/cases
9192
* Deprecated POST /manage/cases/update in favor of PUT /api/v2/cases/{case_identifier}

docs/api_reference/reference/v2.1.0/resources/api_v2_global-tasks_{identifier}.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,31 @@ get:
1616
$ref: ../schemas/GlobalTask.yaml
1717
'404':
1818
$ref: ../responses/NotFound.yaml
19+
put:
20+
operationId: api_v2_global-tasks_(identifier)_put
21+
summary: Update a global task
22+
description: ''
23+
tags:
24+
- Global tasks
25+
- Beta
26+
requestBody:
27+
content:
28+
application/json:
29+
schema:
30+
$ref: ../schemas/requestBodies/GlobalTask.yaml
31+
responses:
32+
'201':
33+
description: Global task successfully updated
34+
content:
35+
application/json:
36+
schema:
37+
$ref: ../schemas/GlobalTask.yaml
38+
'400':
39+
$ref: ../responses/GenericError.yaml
40+
'403':
41+
$ref: ../responses/Forbidden.yaml
42+
'404':
43+
$ref: ../responses/NotFound.yaml
1944
delete:
2045
operationId: api_v2_global-tasks_(identifier)_delete
2146
tags:

0 commit comments

Comments
 (0)