@@ -127,6 +127,143 @@ paths:
127127 $ref : ../responses/notifications/NotificationResponse.yaml
128128 " 401 " :
129129 $ref : ../responses/MissingCredentialsError.yaml
130+ /notifications :
131+ delete :
132+ operationId : deleteAllNotificationV2s
133+ summary : Delete All NotificationV2s
134+ description : Delete all of the current user's notifications.
135+ tags :
136+ - notifications
137+ security :
138+ - authCookie : []
139+ responses :
140+ " 200 " :
141+ $ref : ../responses/notifications/ClearNotificationsV2Success.yaml
142+ " 401 " :
143+ $ref : ../responses/MissingCredentialsError.yaml
144+ get :
145+ operationId : getNotificationV2s
146+ summary : List NotificationV2s
147+ description : Retrieve all of the current user's notifications.
148+ tags :
149+ - notifications
150+ parameters :
151+ - $ref : ../parameters.yaml#/limit
152+ security :
153+ - authCookie : []
154+ responses :
155+ " 200 " :
156+ $ref : ../responses/notifications/NotificationV2ListResponse.yaml
157+ " 401 " :
158+ $ref : ../responses/MissingCredentialsError.yaml
159+ " /notifications/{notificationId} " :
160+ parameters :
161+ - $ref : ../parameters.yaml#/notificationId
162+ get :
163+ operationId : getNotificationV2
164+ deprecated : true
165+ summary : Get NotificationV2
166+ description : Get a specific notification. Appears to require admin credentials by default. Expect a 403 Forbidden error response for normal users.
167+ tags :
168+ - notifications
169+ security :
170+ - authCookie : []
171+ responses :
172+ " 200 " :
173+ $ref : ../responses/notifications/NotificationV2Response.yaml
174+ " 401 " :
175+ $ref : ../responses/MissingCredentialsError.yaml
176+ " 403 " :
177+ $ref : ../responses/InvalidAdminCredentialsError.yaml
178+ " 404 " :
179+ $ref : ../responses/notifications/NotificationNotFoundError.yaml
180+ delete :
181+ operationId : deleteNotificationV2
182+ summary : Delete NotificationV2
183+ description : Delete a specific notification
184+ tags :
185+ - notifications
186+ security :
187+ - authCookie : []
188+ responses :
189+ " 200 " :
190+ $ref : ../responses/notifications/ClearNotificationV2Success.yaml
191+ " 400 " :
192+ $ref : ../responses/notifications/NotificationOperationError.yaml
193+ " 401 " :
194+ $ref : ../responses/MissingCredentialsError.yaml
195+ " 404 " :
196+ $ref : ../responses/notifications/NotificationNotFoundError.yaml
197+ " /notifications/{notificationId}/reply " :
198+ parameters :
199+ - $ref : ../parameters.yaml#/notificationId
200+ post :
201+ operationId : replyNotificationV2
202+ summary : Reply NotificationV2
203+ description : Reply to a specific notification
204+ tags :
205+ - notifications
206+ requestBody :
207+ required : true
208+ content :
209+ application/json :
210+ schema :
211+ $ref : ../requests/ReplyNotificationV2Request.yaml
212+ security :
213+ - authCookie : []
214+ responses :
215+ " 200 " :
216+ $ref : ../responses/notifications/NotificationV2Response.yaml
217+ " 400 " :
218+ $ref : ../responses/notifications/NotificationOperationError.yaml
219+ " 401 " :
220+ $ref : ../responses/MissingCredentialsError.yaml
221+ " 404 " :
222+ $ref : ../responses/notifications/NotificationNotFoundError.yaml
223+ " /notifications/{notificationId}/respond " :
224+ parameters :
225+ - $ref : ../parameters.yaml#/notificationId
226+ post :
227+ operationId : respondNotificationV2
228+ summary : Respond NotificationV2
229+ description : Respond to a specific notification
230+ tags :
231+ - notifications
232+ requestBody :
233+ required : true
234+ content :
235+ application/json :
236+ schema :
237+ $ref : ../requests/RespondNotificationV2Request.yaml
238+ security :
239+ - authCookie : []
240+ responses :
241+ " 200 " :
242+ $ref : ../responses/notifications/NotificationV2Response.yaml
243+ " 400 " :
244+ $ref : ../responses/notifications/NotificationOperationError.yaml
245+ " 401 " :
246+ $ref : ../responses/MissingCredentialsError.yaml
247+ " 404 " :
248+ $ref : ../responses/notifications/NotificationNotFoundError.yaml
249+ " /notifications/{notificationId}/see " :
250+ parameters :
251+ - $ref : ../parameters.yaml#/notificationId
252+ post :
253+ operationId : acknowledgeNotificationV2
254+ summary : Acknowledge NotificationV2
255+ description : Acknowledge a specific notification
256+ tags :
257+ - notifications
258+ security :
259+ - authCookie : []
260+ responses :
261+ " 200 " :
262+ $ref : ../responses/notifications/NotificationV2Response.yaml
263+ " 401 " :
264+ $ref : ../responses/MissingCredentialsError.yaml
265+ " 404 " :
266+ $ref : ../responses/notifications/NotificationNotFoundError.yaml
130267components :
131268 securitySchemes :
132269 $ref : ../securitySchemes.yaml
0 commit comments