{ "opencollection": "1.0.0", "info": { "name": "Spike.sh Alert Rules Services API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Services", "type": "folder" }, "items": [ { "info": { "name": "Fetch all services", "type": "http" }, "http": { "method": "GET", "url": "https://api.spike.sh/services", "headers": [ { "name": "x-team-id", "value": "" } ] }, "docs": "Get all services for the team." }, { "info": { "name": "Create a service", "type": "http" }, "http": { "method": "POST", "url": "https://api.spike.sh/services/create", "headers": [ { "name": "x-team-id", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new service." }, { "info": { "name": "Fetch currently affected services", "type": "http" }, "http": { "method": "GET", "url": "https://api.spike.sh/services/affected", "headers": [ { "name": "x-team-id", "value": "" } ] }, "docs": "Get all services currently affected by incidents." }, { "info": { "name": "Fetch service details with incidents", "type": "http" }, "http": { "method": "GET", "url": "https://api.spike.sh/services/:counterId", "headers": [ { "name": "x-team-id", "value": "" } ], "params": [ { "name": "counterId", "value": "", "type": "path" } ] }, "docs": "Get details for a specific service including its incidents." }, { "info": { "name": "Update a service", "type": "http" }, "http": { "method": "PUT", "url": "https://api.spike.sh/services/:counterId/update", "headers": [ { "name": "x-team-id", "value": "" } ], "params": [ { "name": "counterId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing service." }, { "info": { "name": "Fetch incidents for a service", "type": "http" }, "http": { "method": "GET", "url": "https://api.spike.sh/services/:counterId/incidents", "headers": [ { "name": "x-team-id", "value": "" } ], "params": [ { "name": "counterId", "value": "", "type": "path" } ] }, "docs": "Get all incidents for a specific service." }, { "info": { "name": "Fetch integrations of a service", "type": "http" }, "http": { "method": "GET", "url": "https://api.spike.sh/services/:counterId/integrations", "headers": [ { "name": "x-team-id", "value": "" } ], "params": [ { "name": "counterId", "value": "", "type": "path" } ] }, "docs": "Get all integrations for a specific service." } ] } ], "bundled": true }