{ "opencollection": "1.0.0", "info": { "name": "Sentry Alerts Service Hooks API", "version": "0.0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Service Hooks", "type": "folder" }, "items": [ { "info": { "name": "Sentry List a project's service hooks", "type": "http" }, "http": { "method": "GET", "url": "https://sentry.io/api/0/projects/:organization_id_or_slug/:project_id_or_slug/hooks/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "project_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the project." }, { "name": "cursor", "value": "", "type": "query", "description": "Pagination cursor." } ] }, "docs": "Returns a list of service hooks bound to a project." }, { "info": { "name": "Sentry Register a new service hook", "type": "http" }, "http": { "method": "POST", "url": "https://sentry.io/api/0/projects/:organization_id_or_slug/:project_id_or_slug/hooks/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "project_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the project." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new service hook for a project." }, { "info": { "name": "Sentry Retrieve a service hook", "type": "http" }, "http": { "method": "GET", "url": "https://sentry.io/api/0/projects/:organization_id_or_slug/:project_id_or_slug/hooks/:hook_id/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "project_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the project." }, { "name": "hook_id", "value": "", "type": "path", "description": "The ID of the service hook." } ] }, "docs": "Returns a service hook bound to a project." }, { "info": { "name": "Sentry Update a service hook", "type": "http" }, "http": { "method": "PUT", "url": "https://sentry.io/api/0/projects/:organization_id_or_slug/:project_id_or_slug/hooks/:hook_id/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "project_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the project." }, { "name": "hook_id", "value": "", "type": "path", "description": "The ID of the service hook." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a service hook." }, { "info": { "name": "Sentry Remove a service hook", "type": "http" }, "http": { "method": "DELETE", "url": "https://sentry.io/api/0/projects/:organization_id_or_slug/:project_id_or_slug/hooks/:hook_id/", "params": [ { "name": "organization_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the organization." }, { "name": "project_id_or_slug", "value": "", "type": "path", "description": "The ID or slug of the project." }, { "name": "hook_id", "value": "", "type": "path", "description": "The ID of the service hook." } ] }, "docs": "Removes a service hook from a project." } ] } ], "bundled": true }