List the caller's annotations across items
Newest first, each with the item it is in, on items the caller can still read. An API key needs read
access to items.
bearerAuthorizationBearer <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.
item_id?stringOnly annotations on this item
26 <= length <= 26color?string"yellow""yellow""green""blue""pink"q?stringWords in the passage or its note (English stemming; quotes, or and -word work)
length <= 500cursor?stringnext_cursor from the previous page
limit?integer1 <= value <= 20050A page of annotations
application/json- response
annotations*array<>next_cursor*string|nullcurl -X GET 'https://example.com/v1/annotations'{ "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" } } ], "next_cursor": "string"}Mark a passage in an item POST
`text` is the passage as it appears in the item's text; `prefix` and `suffix` (the words just before and after it) let a client find it again after the text changes, and `offset` says where to look first. A user keeps at most 500 annotations on one item (409 `annotation.item_limit`). Refused while the library is read-only over its plan's limits. An API key needs write access to `items`. An annotation is not a quote: it stays on its item and is not a card in the feed. To save a passage as an item of its own, create a `quote`.
Get one of the caller's annotations GET
404 for someone else's annotation, or one on an item the caller can no longer read.