{ "components": { "schemas": { "create_event": { "properties": { "service_key": { "type": "string" }, "event_type": { "$ref": "#/components/schemas/event_type" }, "incident_key": { "type": "string" }, "description": { "type": "string" }, "details": { "type": "object" }, "client": { "type": "string" }, "client_url": { "type": "string" }, "contexts": { "type": "object" } }, "required": [ "service_key", "event_type" ], "type": "object" }, "event_type": { "description": "Possible values: trigger,acknowledge,resolve.", "enum": [ "trigger", "acknowledge", "resolve" ], "type": "string" } } }, "info": { "contact": {}, "license": {}, "termsOfService": "", "title": "pagerduty-api", "version": "0.0.1-dev" }, "openapi": "3.0.2", "paths": { "/generic/2010-04-15/create_event.json": { "post": { "description": "Create an alert on Pagerduty", "operationId": "post--generic-create_eventjson", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/create_event" } } } }, "responses": { "200": { "description": "string", "content": { "application/json": { "schema": { "type": "string" } } }, "headers": {} } }, "tags": [ "create_event" ] } } }, "servers": [ { "url": "https://events.pagerduty.com" } ] }