-
Notifications
You must be signed in to change notification settings - Fork 433
/
status_message.yaml
34 lines (34 loc) · 1.01 KB
/
status_message.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
get:
summary: Get list of status messages
description: |
Get a list of all status messages
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/limit.yaml'
responses:
'200':
description: OK. The request has succeeded.
content:
application/xml; charset=utf-8:
schema:
$ref: '../components/schemas/status_messages.yaml'
example:
count: 2
status_message:
- id: 2
message: OBS 3.0 is released!
user: Iggy
severity: announcement
scope: all_users
created_at: 2021-10-15 13:28:22 UTC
- id: 1
message: Feature number 42 was implemented!
user: Iggy
severity: announcement
scope: all_users
created_at: 2021-10-12 11:18:12 UTC
'401':
$ref: '../components/responses/unauthorized.yaml'
tags:
- Status Messages