Skip to content

Commit c32ce0c

Browse files
aojavanna
authored andcommitted
Missing timeout parameter from the REST API spec JSON files (#28328)
Closes #28200
1 parent 3079dff commit c32ce0c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"wait_for_completion": {
1717
"type": "boolean",
1818
"description": "Wait for the matching tasks to complete (default: false)"
19+
},
20+
"timeout": {
21+
"type": "time",
22+
"description": "Explicit operation timeout"
1923
}
2024
}
2125
},

rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
"description": "Group tasks by nodes or parent/child relationships",
3333
"options" : ["nodes", "parents", "none"],
3434
"default" : "nodes"
35+
},
36+
"timeout": {
37+
"type": "time",
38+
"description": "Explicit operation timeout"
3539
}
3640

3741
}

0 commit comments

Comments
 (0)