{ "opencollection": "1.0.0", "info": { "name": "SigNoz alerts preferences API", "version": "1.0" }, "items": [ { "info": { "name": "preferences", "type": "folder" }, "items": [ { "info": { "name": "List org preferences", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/org/preferences", "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint lists all org preferences" }, { "info": { "name": "Get org preference", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/org/preferences/:name", "params": [ { "name": "name", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint returns the org preference by name" }, { "info": { "name": "Update org preference", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}{base_path}/api/v1/org/preferences/:name", "params": [ { "name": "name", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint updates the org preference by name" }, { "info": { "name": "List user preferences", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/user/preferences", "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint lists all user preferences" }, { "info": { "name": "Get user preference", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/user/preferences/:name", "params": [ { "name": "name", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint returns the user preference by name" }, { "info": { "name": "Update user preference", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}{base_path}/api/v1/user/preferences/:name", "params": [ { "name": "name", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint updates the user preference by name" } ] } ], "bundled": true }