Skip to content

Commit 6e85f3f

Browse files
committed
RS: Added new 406 status code and missing 404 code to initiate cluster-wide action REST API request reference
1 parent 38c2651 commit 6e85f3f

File tree

1 file changed

+9
-7
lines changed
  • content/operate/rs/references/rest-api/requests/cluster

1 file changed

+9
-7
lines changed

content/operate/rs/references/rest-api/requests/cluster/actions.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Returns a JSON array of [action objects]({{< relref "/operate/rs/references/rest
5454
}
5555
```
5656

57-
### Status codes {#get-all-status-codes}
57+
### Status codes {#get-all-status-codes}
5858

5959
| Code | Description |
6060
|------|-------------|
@@ -99,7 +99,7 @@ Returns an [action object]({{< relref "/operate/rs/references/rest-api/objects/a
9999
}
100100
```
101101

102-
### Status codes {#get-status-codes}
102+
### Status codes {#get-status-codes}
103103

104104
| Code | Description |
105105
|------|-------------|
@@ -153,13 +153,15 @@ Supported cluster actions:
153153

154154
The body content may provide additional action details. Currently, it is not used.
155155

156-
### Status codes {#post-status-codes}
156+
### Status codes {#post-status-codes}
157157

158158
| Code | Description |
159159
|------|-------------|
160-
| [200 OK](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1) | No error, action was initiated. |
161-
| [400 Bad Request](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1) | Bad action or content provided. |
162-
| [409 Conflict](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.10) | A conflicting action is already in progress. |
160+
| [200 OK](https://www.rfc-editor.org/rfc/rfc9110.html#name-200-ok) | No error, action was initiated. |
161+
| [400 Bad Request](https://www.rfc-editor.org/rfc/rfc9110.html#name-400-bad-request) | Bad action or content provided. |
162+
| [404 Not Found](https://www.rfc-editor.org/rfc/rfc9110.html#name-404-not-found) | Node does not exist. |
163+
| [406 Not Acceptable](https://www.rfc-editor.org/rfc/rfc9110.html#name-406-not-acceptable) | Node not bootstrapped. |
164+
| [409 Conflict](https://www.rfc-editor.org/rfc/rfc9110.html#name-409-conflict) | A conflicting action is already in progress. |
163165

164166
## Cancel action {#delete-cluster-action}
165167

@@ -190,7 +192,7 @@ a previously executed and completed action.
190192

191193
Returns a status code.
192194

193-
### Status codes {#delete-status-codes}
195+
### Status codes {#delete-status-codes}
194196

195197
| Code | Description |
196198
|------|-------------|

0 commit comments

Comments
 (0)