-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtypes.raml
More file actions
46 lines (46 loc) · 832 Bytes
/
types.raml
File metadata and controls
46 lines (46 loc) · 832 Bytes
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
35
36
37
38
39
40
41
42
43
44
45
46
# Приводим в порядок
Device: !include types/device.raml
Playlist: !include types/playlist.raml
# Старая дока
Bundle:
type: object
properties:
id: integer
main: [0, 1]
bundles: array
name_ru: string
name_uk: string
Error:
type: object
properties:
code: integer
message: string
Operation:
type: object
properties:
id: integer
transaction_id: integer
object_id: integer
created: datetime
sum: number
balance: number
Service:
type: object
properties:
id: integer
created: datetime
name_ru: string
name_uk: string
cost: number
start?: date-only
stop?: date-only
Token:
type: object
properties:
token: string
Status:
type: object
properties:
id: string
status:
enum: [active, disconnected]