GET /api/articles/[id]/notes
The cheap Brief map — one entry per note (anchor, kind, title, url), never the bodies. Backs scripto note list.
The CLI equivalent is scripto note list <id>.
Returns the cheap Brief map: one entry per note (anchor, kind, title, url), never the bodies. Owner-scoped. For full bodies use GET …/brief or GET …/notes/[nid].
Endpoint
GET https://scripto.codika.io/api/articles/{id}/notes Auth
Authorization: Bearer scripto_…
Response (200)
{
"success": true,
"data": {
"notes": [
{ "anchor": "1a2b3c4d", "kind": "source", "title": "Medium import docs", "url": "https://…" },
{ "anchor": "5e6f7a8b", "kind": "decision", "title": "Lead with the install", "url": null }
]
}
} Errors
| HTTP | code | Cause |
|---|---|---|
| 401 | unauthenticated | Missing or invalid key. |
| 404 | not-found | No such article, or you don’t own it. |
curl
curl -sS "https://scripto.codika.io/api/articles/$ID/notes" \
-H "Authorization: Bearer $SCRIPTO_API_KEY" Next
- POST …/notes — add a note.
- GET …/notes/[nid] — one note’s full body.