PUT /api/collections/< collection_id >/bookmarks
Add a bookmark to a collection.
Adds an existing bookmark to a specified collection. This operation requires the unique identifiers for both the collection and the bookmark.
Endpoint
PUT /api/collections/<collection_id>/bookmarks
Parameters
| Name | Type | Description |
|---|---|---|
| collection_id | string | The unique identifier of the collection to which the bookmark will be added. |
Request Body
| Field | Type | Description |
|---|---|---|
| bookmark_id | string | The unique identifier of the bookmark to add to the collection. |
Response
| Status | Description |
|---|---|
| 204 | The bookmark was successfully added to the collection. Returns null. |
| 400 | The request body is missing the 'bookmark_id' field, or the collection was not found, or the bookmark is already in the collection. Returns object. |