-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCDE Mock Open API.yml
196 lines (196 loc) · 5.01 KB
/
CDE Mock Open API.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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
openapi: 3.0.0
info:
title: CDE Mock Collection
version: 1.0.0
servers:
- url: https://629c7909e9358232f75b7283.mockapi.io
paths:
/api/Projects:
get:
tags:
- General
summary: Get all projects
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1:
get:
tags:
- General
summary: Get project
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Members:
get:
tags:
- General
summary: Get all members
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Members/1:
get:
tags:
- General
summary: Get member
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1/Documents:
get:
tags:
- General
summary: Get all documents in project
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1/Documents/1:
get:
tags:
- General
summary: Get doument in project
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1/Documents/:
post:
tags:
- General
summary: Create new document
requestBody:
content:
application/json:
schema:
type: object
example:
communication_accessible: false
communication_created: communication_created 1
communication_index: 70
fields: []
filter: {}
form_definition: {}
forwarded: false
index: 58
invalid: false
read: false
referenced_by: {}
id: '100'
ProjectId: '1'
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1/Documents/100:
put:
tags:
- General
summary: Update document
requestBody:
content:
application/json:
schema:
type: object
example:
communication_accessible: true
communication_created: communication_created 1
communication_index: 70
fields: []
filter: {}
form_definition: {}
forwarded: false
index: 58
invalid: false
read: false
referenced_by: {}
id: '100'
ProjectId: '1'
responses:
'200':
description: Successful response
content:
application/json: {}
delete:
tags:
- General
summary: Delete document
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1/Documents/1/Files:
get:
tags:
- General
summary: Get all files in document
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1/Documents/1/Files/1:
get:
tags:
- General
summary: Get file in document
responses:
'200':
description: Successful response
content:
application/json: {}
delete:
tags:
- General
summary: Delete file
responses:
'200':
description: Successful response
content:
application/json: {}
/api/Projects/1/Documents/1/Files/:
post:
tags:
- General
summary: Upload new file
requestBody:
content:
application/json:
schema:
type: object
example:
content_available: false
content_delayed: false
content_downloadable: false
content_uri: http://loremflickr.com/640/480
content_viral: false
description: >-
Sit eum corporis. Officiis sed voluptatibus vero enim nisi.
Provident maxime sint sapiente perspiciatis. Voluptatem
voluptatem adipisci. Quia aspernatur soluta nihil hic minima
deleniti perspiciatis porro. Sint qui et.
fulltext_indexed: fulltext_indexed 1
mime_type: mime_type 1
name: 3D Model - Structure 2
reused: false
size: 78
id: '1'
DocumentId: '1000'
responses:
'200':
description: Successful response
content:
application/json: {}