Skip to content
Skip to Content
DevelopersAPI referenceAnnotations

List the caller's annotations on an item

GET
/v1/items/{id}/annotations

In reading order: by offset where known, then oldest first. Each reader has their own annotations: the item's owner, and the owner or accepted members of a list the item is in. Anyone else gets 404, as for a deleted item. An API key needs read access to items.

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.

Path Parameters

id*string

Response Body

The caller's annotations on the item

application/json
  1. response
annotations*array<>
Example Request
curl -X GET 'https://example.com/v1/items/string/annotations'
Example Response
{  "annotations": [    {      "id": "string",      "item_id": "string",      "text": "string",      "prefix": "string",      "suffix": "string",      "offset": 0,      "color": "yellow",      "note": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "item": {        "id": "string",        "kind": "string",        "title": "string",        "url": "string",        "domain": "string"      }    }  ]}