-
Notifications
You must be signed in to change notification settings - Fork 0
/
apiary.apib
77 lines (46 loc) · 1.52 KB
/
apiary.apib
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
FORMAT: 1A
# public-example
# Group Upload
## Token [GET /upload/token]
+ Response 200 (application/json)
"token panhezeng panhezeng"
## File [/upload/{file}]
+ Parameters
+ file
+ Model (application/json)
+ Headers
Access-Control-Allow-Headers: Authorization,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Length,ETag,Content-MD5
Access-Control-Allow-Methods: PUT,GET,POST,DELETE,HEAD,OPTIONS,CONNECT,TRACE
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag
ETag: AQAAADl1GTvRN6B2wWyLspGGyHOSAEdj
+ Body
{
"Key": "panhezeng"
}
### POST
+ Response 200
[File][]
### PUT
+ Response 200
[File][]
# Group ElSelectRemoteMultiple
## Options List [GET /el-select-remote-multiple/options{?limit,offset,search}]
+ Parameters
+ limit: 20 (number, optional)
+ offset (number, optional)
+ search (string, optional)
+ Response 200 (application/json)
+ Attributes (ElSelectRemoteMultiple Options)
## Option Create [POST /el-select-remote-multiple/option]
+ Request (application/json)
{ "name": "Option name 2"}
+ Response 200 (application/json)
{ "id": "2", "name": "Option name 2"}
# Data Structures
## ElSelectRemoteMultiple Option (object)
+ id: 1
+ name: Option name 1
## ElSelectRemoteMultiple Options
+ count: 100 (number)
+ data (array[ElSelectRemoteMultiple Option])