You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/openapi/api.yaml
+46-3Lines changed: 46 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -152,9 +152,10 @@ paths:
152
152
schema:
153
153
type: object
154
154
properties:
155
-
#csv_file will be the field name in
155
+
#file_name will be the field name in
156
156
# this multipart request
157
-
csv_file:
157
+
file_name:
158
+
description: Upload a json or a csv file.
158
159
type: string
159
160
format: binary
160
161
parameters:
@@ -174,6 +175,23 @@ paths:
174
175
description: Data Model Component
175
176
example: Patient
176
177
required: true
178
+
- in: query
179
+
name: json_str
180
+
required: false
181
+
schema:
182
+
type: string
183
+
nullable: false
184
+
description: A JSON object
185
+
example: '[{
186
+
"Patient ID": 123,
187
+
"Sex": "Female",
188
+
"Year of Birth": "",
189
+
"Diagnosis": "Healthy",
190
+
"Component": "Patient",
191
+
"Cancer Type": "Breast",
192
+
"Family History": "Breast, Lung",
193
+
}]'
194
+
177
195
operationId: api.routes.validate_manifest_route
178
196
responses:
179
197
"200":
@@ -203,7 +221,8 @@ paths:
203
221
schema:
204
222
type: object
205
223
properties:
206
-
csv_file:
224
+
file_name:
225
+
description: Upload a json or a csv file.
207
226
type: string
208
227
format: binary
209
228
parameters:
@@ -251,6 +270,30 @@ paths:
251
270
nullable: false
252
271
description: Token
253
272
required: true
273
+
- in: query
274
+
name: asset_view
275
+
schema:
276
+
type: string
277
+
nullable: false
278
+
description: ID of view listing all project data assets. For example, for Synapse this would be the Synapse ID of the fileview listing all data assets for a given project.(i.e. master_fileview in config.yml)
0 commit comments