Skip to content

Commit 9ab9895

Browse files
dabrtmnocon
andcommitted
REST API usage typo fix (#2532)
* REST API usage typo fix Co-authored-by: Marek Nocoń <[email protected]>
1 parent 7b11895 commit 9ab9895

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/api/rest_api_requests.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ description: REST API requests can have a generic or a custom header. It defines
88

99
Depending on the HTTP method used, different actions will be possible on the same resource. Example:
1010

11-
| Action | Description |
12-
|-----------------------------------------|----------------------------------------------------------------------|
13-
| `GET /content/objects/2/version/3` | Fetches data about version \#3 of Content item \#2 |
14-
| `PATCH /content/objects/2/version/3` | Updates the version \#3 draft of Content item \#2 |
15-
| `DELETE /content/objects/2/version/3` | Deletes the (draft or archived) version \#3 from Content item \#2 |
16-
| `COPY /content/objects/2/version/3` | Creates a new draft version of Content item \#2 from its version \#3 |
17-
| `PUBLISH /content/objects/2/version/3` | Promotes the version \#3 of Content item \#2 from draft to published |
18-
| `OPTIONS /content/objects/2/version/3` | Lists all the methods usable with this resource, the 5 ones above |
11+
| Action | Description |
12+
|------------------------------------------|----------------------------------------------------------------------|
13+
| `GET /content/objects/2/versions/3` | Fetches data about version \#3 of Content item \#2 |
14+
| `PATCH /content/objects/2/versions/3` | Updates the version \#3 draft of Content item \#2 |
15+
| `DELETE /content/objects/2/versions/3` | Deletes the (draft or archived) version \#3 from Content item \#2 |
16+
| `COPY /content/objects/2/versions/3` | Creates a new draft version of Content item \#2 from its version \#3 |
17+
| `PUBLISH /content/objects/2/versions/3` | Promotes the version \#3 of Content item \#2 from draft to published |
18+
| `OPTIONS /content/objects/2/versions/3` | Lists all the methods usable with this resource, the 5 ones above |
1919

2020
The following list of available methods gives an overview of the kind of action a method triggers on a resource, if available.
2121
For method action details per resource, see the [REST API reference](rest_api_reference/rest_api_reference.html).

0 commit comments

Comments
 (0)