Skip to main content
Skip table of contents

Get a single bookmark for a content item

Request

To get a single bookmark for a content for an account, send a GET request to:

https://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/bookmarks/{contentId}

Headers

  • Authorization: Bearer – bearer token

  • Content-Type: application/json

Mandatory arguments

  • account – the account ID (in the path)
  • contentId  – the ID of the content for which to return the bookmark (in the path)

Other arguments

  • pretty – specifies that the output should be pretty-printed (that is, in human-readable format) (query parameter)

Response

A successful request returns an HTTP 200 status.

A bad request returns an HTTP 400 status.

An unauthorised request returns an HTTP 401 status.

If there is no bookmark for the specified account and content, the request returns an HTTP 404 status.

Example

CODE
{
    "account": "1",
    "userId": "",
    "contentId": "trainspottingg",
    "contentType": "asset",
    "position": 30,
    "creationDate": "2021-01-22T08:47:41Z",
    "modifiedDate": "2021-01-22T08:47:41Z",
    "metadata": {},
    "tags": []
}

See also

For full details of this API, see the User Activity Vault (UAV) API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.