{ "opencollection": "1.0.0", "info": { "name": "Unisson agent-evals notifications API", "version": "1.0.0" }, "items": [ { "info": { "name": "notifications", "type": "folder" }, "items": [ { "info": { "name": "List Notifications", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/notifications", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "page_size", "value": "", "type": "query" }, { "name": "unread_only", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Return the current user's notifications, most recent first." }, { "info": { "name": "Unread Count", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/notifications/unread-count", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Return the number of unread notifications for the bell badge." }, { "info": { "name": "Mark Read", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v1/notifications/:notification_id", "params": [ { "name": "notification_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Mark a single notification as read/unread." }, { "info": { "name": "Mark All Read", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/notifications/mark-all-read", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Mark every unread notification for the current user as read." } ] } ], "bundled": true }