{ "opencollection": "1.0.0", "info": { "name": "papi alert-query-proxy notes-v4 API", "version": "2.0.0" }, "items": [ { "info": { "name": "notes-v4", "type": "folder" }, "items": [ { "info": { "name": "List notes for a workspace", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/workspaces/:workspace_name/notes", "params": [ { "name": "workspace_name", "value": "", "type": "path" }, { "name": "view", "value": "", "type": "query", "description": "\"full\" (default): notes with content. \"summary\": lightweight metadata-only representation (no content body) for listing UIs." }, { "name": "include_enrichment", "value": "", "type": "query", "description": "Include USearch indexing metadata" }, { "name": "status", "value": "", "type": "query", "description": "Filter by status" }, { "name": "search", "value": "", "type": "query", "description": "Case-insensitive substring filter. full view: title or content; summary view: title only (content is not loaded at this representation)." }, { "name": "limit", "value": "", "type": "query", "description": "Max results" }, { "name": "offset", "value": "", "type": "query", "description": "Pagination offset" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List notes for a workspace.\n\n``view=summary``: lightweight metadata-only list (no content body) — the\n\"summary representation\" for listing UIs (e.g. the rwfs tree). ``status``\nand ``search`` filters still apply (``search`` is title-only here, since\ncontent is not loaded). It is a distinct representation from\n``include_enrichment`` and the two cannot be combined (400).\nWithout include_enrichment: plain list of notes (full, with content).\nWith include_enrichment=true: paginated wrapper with USearc" }, { "info": { "name": "Create a note", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v4/workspaces/:workspace_name/notes", "params": [ { "name": "workspace_name", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new note and fire-and-forget USearch indexing." }, { "info": { "name": "Get a note", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v4/workspaces/:workspace_name/notes/:note_id", "params": [ { "name": "workspace_name", "value": "", "type": "path" }, { "name": "note_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve a single note by UUID." }, { "info": { "name": "Update a note", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v4/workspaces/:workspace_name/notes/:note_id", "params": [ { "name": "workspace_name", "value": "", "type": "path" }, { "name": "note_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Partial update of a note. Re-indexes in USearch." }, { "info": { "name": "Delete a note", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v4/workspaces/:workspace_name/notes/:note_id", "params": [ { "name": "workspace_name", "value": "", "type": "path" }, { "name": "note_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a note and remove from USearch index." } ] } ], "bundled": true }