Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

ES-7803-2 #1173

Closed
wants to merge 1 commit into from
Closed
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
90 changes: 90 additions & 0 deletions site/specs/emergency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2370,6 +2370,9 @@ components:
application/json:
schema:
$ref: '#/components/schemas/listNotifications'
examples:
listNotifications:
$ref: '#/components/examples/listNotifications'
addNotification:
description: Created.
content:
Expand All @@ -2394,6 +2397,9 @@ components:
application/json:
schema:
$ref: '#/components/schemas/listNotificationGroups'
examples:
listNotificationGroups:
$ref: '#/components/examples/listNotificationGroups'
getNotificationGroup:
description: OK.
content:
Expand Down Expand Up @@ -2725,6 +2731,90 @@ components:
country: GBR
created: '2023-09-26T17:37:10.432Z'
updated: '2023-09-26T17:37:10.432Z'
listNotifications:
summary: Get Notification Groups
value:
links:
- href: /notifications
rel: self
method: GET
- href: /notifications
rel: first
method: GET
- href: /notifications?offset=99000&limit=1000
rel: last
method: GET
- href: ''
rel: prev
method: GET
- href: /notifications?offset=1000&limit=1000
rel: next
method: GET
notifications:
- id: notificationId1
accountId: '34343434'
activated: '2016-06-22T16:33:21.959Z'
created: '2016-06-22T16:33:21.959Z'
description: Notification Group 1
groupCount: 2
username: ''
recipient: [email protected]
type: EMAIL
updated: '2016-06-22T16:33:21.959Z'
updatedBy: joe
- id: notificationId2
accountId: '34343434'
activated: '2016-06-22T16:33:21.959Z'
created: '2016-06-22T16:33:21.959Z'
description: Notification Group 1
groupCount: 1
username: username
recipient: https://foo.baz.com
type: HTTP
updated: '2016-06-22T16:33:21.959Z'
updatedBy: joe
listNotificationGroups:
summary: Get Notification Groups
value:
links:
- href: /notificationGroups
rel: self
method: GET
- href: /notificationGroups
rel: first
method: GET
- href: /notificationGroups?offset=99000&limit=1000
rel: last
method: GET
- href: ''
rel: prev
method: GET
- href: /notificationGroups?offset=1000&limit=1000
rel: next
method: GET
notificationGroups:
- id: notificationGroupId1
accountId: '34343434'
created: '2016-06-22T16:33:21.959Z'
description: Notification Group 1
endpointCount: 2
endpointIds:
- '15555555555'
- '17777777777'
notificationIds:
- notificationId1
updated: '2016-06-22T16:33:21.959Z'
updatedBy: joe
- id: notificationGroupId2
accountId: '34343434'
created: '2016-06-22T16:33:21.959Z'
description: Notification Group 2
endpointCount: 0
endpointIds: []
notificationIds:
- notificationId1
updated: '2016-06-22T16:33:21.959Z'
updatedBy: joe
listOrders:
summary: Get Orders
value:
Expand Down
Loading