Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
270 changes: 270 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12289,6 +12289,46 @@ components:
meta:
$ref: '#/components/schemas/DataDeletionResponseMeta'
type: object
CreateEventEmailAddressRequest:
properties:
data:
$ref: '#/components/schemas/CreateEventEmailAddressRequestData'
type: object
CreateEventEmailAddressRequestData:
properties:
attributes:
$ref: '#/components/schemas/CreateEventEmailAddressRequestDataAttributes'
type:
$ref: '#/components/schemas/EventEmailsType'
required:
- type
type: object
CreateEventEmailAddressRequestDataAttributes:
properties:
alert_type:
type: string
description:
type: string
format:
example: ''
type: string
notify_handles:
example:
- ''
items:
type: string
type: array
tags:
example:
- ''
items:
type: string
type: array
required:
- format
- notify_handles
- tags
type: object
CreateIncidentNotificationRuleRequest:
description: Create request for a notification rule.
properties:
Expand Down Expand Up @@ -12341,6 +12381,41 @@ components:
- name
- targets
type: object
CreateOnCallEventEmailAddressRequest:
properties:
data:
$ref: '#/components/schemas/CreateOnCallEventEmailAddressRequestData'
type: object
CreateOnCallEventEmailAddressRequestData:
properties:
attributes:
$ref: '#/components/schemas/CreateOnCallEventEmailAddressRequestDataAttributes'
type:
$ref: '#/components/schemas/EventEmailsType'
required:
- type
type: object
CreateOnCallEventEmailAddressRequestDataAttributes:
properties:
alert_type:
type: string
description:
type: string
format:
example: ''
type: string
tags:
example:
- ''
items:
type: string
type: array
team_handle:
type: string
required:
- format
- tags
type: object
CreateOpenAPIResponse:
description: Response for `CreateOpenAPI` operation.
properties:
Expand Down Expand Up @@ -18701,6 +18776,112 @@ components:
the default subdomain.
type: string
type: object
EventEmailAddressResponse:
properties:
data:
$ref: '#/components/schemas/EventEmailAddressResponseData'
type: object
EventEmailAddressResponseArray:
properties:
data:
items:
$ref: '#/components/schemas/EventEmailAddressResponseData'
type: array
required:
- data
type: object
EventEmailAddressResponseData:
properties:
attributes:
$ref: '#/components/schemas/EventEmailAddressResponseDataAttributes'
id:
example: ''
type: string
relationships:
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationships'
type:
$ref: '#/components/schemas/EventEmailsType'
required:
- type
- id
type: object
EventEmailAddressResponseDataAttributes:
properties:
alert_type:
type: string
created_at:
example: ''
format: date-time
type: string
description:
type: string
email:
example: ''
type: string
format:
example: ''
type: string
last_used_at:
format: date-time
type: string
notify_handles:
example:
- ''
items:
type: string
type: array
revoked_at:
format: date-time
type: string
tags:
example:
- ''
items:
type: string
type: array
required:
- created_at
- email
- format
- notify_handles
- tags
type: object
EventEmailAddressResponseDataRelationships:
properties:
created_by:
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationshipsUser'
revoked_by:
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationshipsUser'
required:
- created_by
type: object
EventEmailAddressResponseDataRelationshipsUser:
properties:
data:
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationshipsUserData'
required:
- data
type: object
EventEmailAddressResponseDataRelationshipsUserData:
properties:
id:
example: ''
type: string
type:
$ref: '#/components/schemas/UsersType'
required:
- type
- id
type: object
EventEmailsType:
default: event_emails
description: Event emails resource type.
enum:
- event_emails
example: event_emails
type: string
x-enum-varnames:
- EVENT_EMAILS
EventPayload:
additionalProperties: false
description: Event attributes.
Expand Down Expand Up @@ -61743,6 +61924,92 @@ paths:
tags:
- Events
x-codegen-request-body-name: body
/api/v2/events/mail:
get:
operationId: ListEventEmailAddresses
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/EventEmailAddressResponseArray'
description: OK
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: List event email addresses
tags:
- Events
x-unstable: '**Note**: This endpoint may be subject to changes.'
post:
operationId: CreateEventEmailAddress
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateEventEmailAddressRequest'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/EventEmailAddressResponse'
description: Created
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Create event email address
tags:
- Events
x-unstable: '**Note**: This endpoint may be subject to changes.'
/api/v2/events/mail/on-call:
get:
operationId: GetOnCallEventEmailAddress
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/EventEmailAddressResponseArray'
description: OK
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Get on-call event email address
tags:
- Events
x-unstable: '**Note**: This endpoint may be subject to changes.'
post:
operationId: CreateOnCallEventEmailAddress
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOnCallEventEmailAddressRequest'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/EventEmailAddressResponse'
description: Created
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Create on-call event email address
tags:
- Events
x-unstable: '**Note**: This endpoint may be subject to changes.'
/api/v2/events/search:
post:
description: 'List endpoint returns events that match an events search query.
Expand Down Expand Up @@ -61771,6 +62038,9 @@ paths:
$ref: '#/components/responses/NotAuthorizedResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: Search events
tags:
- Events
Expand Down
Loading
Loading