openapi: 3.1.0 info: version: 1.0.0 title: Hatchet API Token Github API description: The Hatchet API servers: - url: '' security: - bearerAuth: [] - cookieAuth: [] tags: - name: Github paths: /api/v1/sns/{tenant}/{event}: post: description: SNS event operationId: sns:update parameters: - description: The tenant id in: path name: tenant required: true schema: type: string format: uuid minLength: 36 maxLength: 36 - description: The event key in: path name: event required: true schema: type: string minLength: 1 maxLength: 255 responses: '200': description: Successfully processed webhook '400': content: application/json: schema: $ref: '#/components/schemas/APIErrors' description: A malformed or bad request '401': content: application/json: schema: $ref: '#/components/schemas/APIErrors' description: Unauthorized '405': content: application/json: schema: $ref: '#/components/schemas/APIErrors' description: Method not allowed security: [] summary: Github App Tenant Webhook tags: - Github components: schemas: APIErrors: type: object properties: errors: type: array items: $ref: '#/components/schemas/APIError' required: - errors APIError: type: object properties: code: type: integer description: a custom Hatchet error code format: uint64 example: 1400 field: type: string description: the field that this error is associated with, if applicable example: name description: type: string description: a description for this error example: A descriptive error message docs_link: type: string description: a link to the documentation for this error, if it exists example: github.com/hatchet-dev/hatchet required: - description securitySchemes: bearerAuth: type: http scheme: bearer cookieAuth: type: apiKey in: cookie name: hatchet customAuth: type: http scheme: bearer