{ "opencollection": "1.0.0", "info": { "name": "Swetrix Admin Annotations API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Key", "value": "{{X-Api-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Annotations", "type": "folder" }, "items": [ { "info": { "name": "List Annotations", "type": "http" }, "http": { "method": "GET", "url": "https://api.swetrix.com/v1/project/annotations/:pid", "params": [ { "name": "pid", "value": "", "type": "path", "description": "Project ID" } ] }, "docs": "Retrieves all chart annotations for a project." }, { "info": { "name": "Create Annotation", "type": "http" }, "http": { "method": "POST", "url": "https://api.swetrix.com/v1/project/annotation", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new chart annotation for a project on a specific date." }, { "info": { "name": "Update Annotation", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.swetrix.com/v1/project/annotation", "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing annotation's date or text." }, { "info": { "name": "Delete Annotation", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.swetrix.com/v1/project/annotation/:id/:pid", "params": [ { "name": "id", "value": "", "type": "path", "description": "Annotation ID" }, { "name": "pid", "value": "", "type": "path", "description": "Project ID" } ] }, "docs": "Removes an annotation from a project." } ] } ], "bundled": true }