Delete a card's item
Deletes the item and records the decision. Repeating the same decision is safe; a different decision for the same card answers 409.
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.
id*stringThe card's item and its new state
application/json- response
item_id*stringstate*string"kept""archived""deleted"curl -X POST 'https://example.com/v1/serendipity/string/delete'{ "item_id": "string", "state": "kept"}Archive a card's item POST
Archives the item and records the decision. Repeating the same decision is safe; a different decision for the same card answers 409.
Start an upload POST
Returns a signed URL to PUT the file to (valid 15 minutes), with the headers to send. Then create an image or pdf item, or a note from a Markdown file, with `upload_id`, or attach it to an item with POST /v1/items/{id}/assets. Unused uploads are removed after 24 hours.