POST /api/bookmarks/
Create a new bookmark.
Expects a JSON body with ``url`` (required) and ``title`` (required).
Creates a new bookmark entry for the user by providing a URL and a descriptive title.
Endpoint
POST /api/bookmarks/
Request Body
| Field | Type | Description |
|---|---|---|
| url | string | The full destination URL that the bookmark points to. |
| title | string | A user-defined name or label for the bookmark. |
Response
| Status | Description |
|---|---|
| 201 | The bookmark was successfully created. Returns object. |
| 400 | The request was invalid, typically due to missing required fields or validation errors. Returns object. |