-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsocket.yml
43 lines (42 loc) · 1.04 KB
/
socket.yml
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
name: csv
endpoints:
dump:
description: Dump data from given class (data model)
private: true
inputs:
properties:
classNamename:
type: string
description: Name of the class to dump
objects:
type: array
items:
type: number
description: ID of the objects to take
query:
type: array
items:
- type: string
description: Field to query
- type: string
description: Operator e.g. 'eq'
- type:
- number
- string
description: List of query arguments e.g. ['id', 'eq', '100']
fields:
type: array
items:
- type: string
description: Fields
from-data:
description: Create csv from send data
private: true
inputs:
properties:
fields:
type: array
description: table fields
entry:
type: array
description: entry data