-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingest-api-spec.yaml
946 lines (912 loc) · 32.3 KB
/
ingest-api-spec.yaml
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
openapi: 3.0.0
info:
description: |
A RESTful web service exposing calls needed for the SenNet Data Sharing Portal.
version: 1.4.19
title: SenNet Ingest API
contact:
name: SenNet Help Desk
email: [email protected]
license:
name: MIT License
url: 'https://github.com/sennetconsortium/ingest-api/blob/main/LICENSE'
servers:
- url: 'https://ingest.api.sennetconsortium.org'
security:
- BearerAuth: []
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Globus Bearer token to authorize requests
schemas:
file_info:
type: object
required:
- filename
- file_uuid
properties:
filename:
type: string
file_uuid:
type: string
file_uuid:
type: string
entity_uuid:
type: string
pattern: '^[a-f0-9]{32}$'
JobCreated:
type: object
properties:
job_id:
type: string
format: uuid
status:
type: string
Referrer:
type: object
description: The type of job and the URL path in the portal
properties:
type:
type: string
description: The type of job
path:
type: string
description: The URL path in the portal
Sources:
type: object
properties:
"1":
$ref: '#/components/schemas/Source'
"2":
$ref: '#/components/schemas/Source'
"3":
$ref: '#/components/schemas/Source'
Source:
type: object
properties:
created_timestamp:
type: integer
readOnly: true
description: The timestamp of when the node was created. The format is an integer representing milliseconds since midnight Jan 1, 1970
created_by_user_displayname:
type: string
readOnly: true
description: The name of the person or process authenticated when creating the object
created_by_user_email:
type: string
readOnly: true
description: The email address of the person or process authenticated when creating the object.
created_by_user_sub:
type: string
readOnly: true
description: The subject id as provided by the authorization mechanism for the person or process authenticated when creating the object.
uuid:
type: string
readOnly: true
description: The SenNet unique identifier, intended for internal software use only. This is a 32 digit hexadecimal UUID e.g. 461bbfdc353a2673e381f632510b0f17
sennet_id:
type: string
readOnly: true
description: A SenNet Consortium wide unique identifier randomly generated in the format SNT###.ABCD.### for every Entity.
last_modified_timestamp:
type: integer
readOnly: true
description: The timestamp of when the object was last modified. The format is an integer representing milliseconds since midnight, Jan 1, 1970
last_modified_user_sub:
type: string
readOnly: true
description: The subject id of the user who last modified the Entity as provided by the authorization mechanism for the person or process authenticated when the object was modified.
last_modified_user_email:
type: string
readOnly: true
description: The email address of the person or process which authenticated when the object was last modified.
last_modified_user_displayname:
type: string
readOnly: true
description: The name of the person or process which authenticated when the object was last modified.
entity_type:
type: string
readOnly: true
description: 'Source'
description:
type: string
description: Free text description of the source
data_access_level:
type: string
readOnly: true
enum:
- consortium
- public
description: 'One of the values: public, consortium'
lab_source_id:
type: string
description: A lab specific identifier for the source.
group_uuid:
type: string
description: The UUID of globus group which the user who created this Entity is a member of. This is required on Create/POST if the user creating the Source is a member of more than one write group. This property cannot be set via PUT (only on Create/POST).
group_name:
readOnly: true
type: string
description: The displayname of globus group which the user who created this Entity is a member of
source_type:
type: string
enum:
- Human
- Human Organoid
- Mouse
- Mouse Organoid
description: "A high level description of where this source originates from. Valid values found in: [source types](https://ontology.api.hubmapconsortium.org/valueset?parent_sab=SENNET&parent_code=C050020&child_sabs=SENNET)"
Samples:
type: object
properties:
"1":
$ref: '#/components/schemas/Sample'
"2":
$ref: '#/components/schemas/Sample'
"3":
$ref: '#/components/schemas/Sample'
Sample:
type: object
properties:
created_timestamp:
type: integer
readOnly: true
description: The timestamp of when the node was created. The format is an integer representing milliseconds since midnight Jan 1, 1970
created_by_user_displayname:
type: string
readOnly: true
description: The name of the person or process authenticated when creating the object
created_by_user_email:
type: string
readOnly: true
description: The email address of the person or process authenticated when creating the object.
created_by_user_sub:
type: string
readOnly: true
description: The subject id as provided by the authorization mechanism for the person or process authenticated when creating the object.
uuid:
type: string
readOnly: true
description: The SenNet unique identifier, intended for internal software use only. This is a 32 digit hexadecimal UUID e.g. 461bbfdc353a2673e381f632510b0f17
sennet_id:
type: string
readOnly: true
description: A SenNet Consortium wide unique identifier randomly generated in the format SNT###.ABCD.### for every Entity.
last_modified_timestamp:
type: integer
readOnly: true
description: The timestamp of when the object was last modified. The format is an integer representing milliseconds since midnight, Jan 1, 1970
last_modified_user_sub:
type: string
readOnly: true
description: The subject id of the user who last modified the Entity as provided by the authorization mechanism for the person or process authenticated when the object was modified.
last_modified_user_email:
type: string
readOnly: true
description: The email address of the person or process which authenticated when the object was last modified.
last_modified_user_displayname:
type: string
readOnly: true
description: The name of the person or process which authenticated when the object was last modified.
entity_type:
type: string
readOnly: true
description: 'Sample'
description:
type: string
description: Free text description of the source
data_access_level:
type: string
readOnly: true
enum:
- consortium
- public
description: 'One of the values: public, consortium'
lab_source_id:
type: string
description: A lab specific identifier for the source.
group_uuid:
type: string
description: The uuid of globus group which the user who created this Entity is a member of. This is required on Create/POST if the user creating the Source is a member of more than one write group. This property cannot be set via PUT (only on Create/POST).
group_name:
readOnly: true
type: string
description: The displayname of globus group which the user who created this Entity is a member of
sample_category:
type: string
enum:
- Block
- Organ
- Section
- Suspension
description: "The category of the sample. Valid values found in: [sample categories](https://ontology.api.hubmapconsortium.org/valueset?parent_sab=SENNET&parent_code=C020076&child_sabs=SENNET)"
organ:
type: string
enum:
- AD
- BD
- BM
- BR
- BS
- LK
- RK
- LI
- LV
- LL
- RL
- LN
- MU
- LO
- RO
- PA
- PL
- SK
description: "Organ code specifier, only set if `sample_category` is organ. Valid values found in: [organ types](https://ontology.api.hubmapconsortium.org/organs?application_context=sennet)"
Datasets:
type: object
properties:
"1":
$ref: '#/components/schemas/Dataset'
"2":
$ref: '#/components/schemas/Dataset'
"3":
$ref: '#/components/schemas/Dataset'
Dataset:
type: object
properties:
created_timestamp:
type: integer
readOnly: true
description: The timestamp of when the node was created. The format is an integer representing milliseconds since midnight Jan 1, 1970
created_by_user_displayname:
type: string
readOnly: true
description: The name of the person or process authenticated when creating the object
created_by_user_email:
type: string
readOnly: true
description: The email address of the person or process authenticated when creating the object.
created_by_user_sub:
type: string
readOnly: true
description: The subject id as provided by the authorization mechanism for the person or process authenticated when creating the object.
uuid:
type: string
readOnly: true
description: The SenNet unique identifier, intended for internal software use only. This is a 32 digit hexadecimal UUID e.g. 461bbfdc353a2673e381f632510b0f17
sennet_id:
type: string
readOnly: true
description: A SenNet Consortium wide unique identifier randomly generated in the format SNT###.ABCD.### for every Entity.
last_modified_timestamp:
type: integer
readOnly: true
description: The timestamp of when the object was last modified. The format is an integer representing milliseconds since midnight, Jan 1, 1970
last_modified_user_sub:
type: string
readOnly: true
description: The subject id of the user who last modified the Entity as provided by the authorization mechanism for the person or process authenticated when the object was modified.
last_modified_user_email:
type: string
readOnly: true
description: The email address of the person or process which authenticated when the object was last modified.
last_modified_user_displayname:
type: string
readOnly: true
description: The name of the person or process which authenticated when the object was last modified.
entity_type:
type: string
readOnly: true
description: 'Dataset'
description:
type: string
description: Free text description of the dataset
data_access_level:
type: string
readOnly: true
enum:
- public
- consortium
description: 'One of the values: public, consortium.'
contains_human_genetic_sequences:
type: boolean
description: True if the data contains any human genetic sequence information. Can only be set at CREATE/POST time
status:
type: string
enum:
- New
- Processing
- QA
- Published
- Error
- Hold
- Invalid
description: 'One of: New|Processing|QA|Published|Error|Hold|Invalid'
dataset_type:
type: string
description: "The data or assay type contained in this dataset. Must be one of the values found in: [dataset types](https://ontology-api.dev.hubmapconsortium.org/valueset?parent_sab=SENNET&parent_code=C003041&child_sabs=SENNET)."
local_directory_rel_path:
type: string
readOnly: true
description: The path on the local HIVE file system, relative to the base data directory, where the data is stored.
group_uuid:
type: string
description: The UUID of globus group which the user who created this Entity is a member of. This is required on Create/POST if the user creating the Source is a member of more than one write group. This property cannot be set via PUT (only on Create/POST).
group_name:
type: string
readOnly: true
description: The displayname of globus group which the user who created this Entity is a member of
AssayTypeReturnDict:
type: object
properties:
name:
type: string
description:
type: string
primary:
type: boolean
vitessce-hints:
type: array
items:
type: string
Metadata:
type: object
paths:
/datasets:
post:
tags:
- datasets
summary: Creates a new SenNet Dataset.
operationId: addDataset
responses:
"201":
description: Successful created
"400":
description: Missing data that is required to create a new Dataset or a system error occurred
"401":
description: User is not authorized to create datasets or user's group information cannot be determined
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Dataset"
application/xml:
schema:
$ref: "#/components/schemas/Dataset"
description: Dataset object that needs to be created
required: true
/file-upload:
post:
tags:
- files
summary: "Upload a file to temporarily stage. On success the file will be staged and a temporary ID will be returned to reference the staged file. The temporary ID can be used in the `/file-commit` endpoint for Sources and Samples to commit the file permanantly and associate it with an Entity."
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
responses:
'200':
description: The file was successfully uploaded and staged, the temporary file ID is returned.
content:
application/json:
schema:
type: object
properties:
temp_file_id:
type: string
"400":
description: Missing file
"401":
description: The user's token has expired or the user did not supply a valid token
"403":
description: The user is not authorized to upload the file.
"500":
description: Internal error
/file-commit:
post:
tags:
- files
summary: "File commit triggered by the Entity API trigger method for Source/Sample/Dataset. Source: image files. Sample: image files and metadata files. Dataset: only the one thumbnail file. This call also creates the symbolic link from the file UUID directory under the uploads assets directory, so the uploaded files can be exposed via Globus's file assets service."
requestBody:
content:
application/json:
schema:
type: object
properties:
temp_file_id:
type: string
entity_uuid:
type: string
user_token:
type: string
responses:
"200":
description: The file was successfully commited, the file UUID is returned.
content:
application/json:
schema:
type: object
properties:
filename:
type: string
file_uuid:
type: string
"400":
description: Missing JSON input
"401":
description: The user's token has expired or the user did not supply a valid token
"500":
description: Internal error
/file-remove:
post:
tags:
- files
summary: "File removal triggered by Entity API trigger method for Source and Sample during Entity update. Source/Sample/Dataset. Source: image files. Sample: image files and metadata files. Dataset: only the one thumbnail file."
requestBody:
content:
application/json:
schema:
type: object
properties:
entity_uuid:
type: string
file_uuids:
type: array
items:
$ref: '#/components/schemas/file_uuid'
files_info_list:
type: array
items:
$ref: '#/components/schemas/file_info'
responses:
"200":
description: The file was successfully deleted.
"400":
description: Missing JSON input
"401":
description: The user's token has expired or the user did not supply a valid token
"500":
description: Internal error
/metadata/validate:
post:
tags:
- metadata
summary: Validate an uploaded metadata TSV file using the backend Job Queue.
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
entity_type:
type: string
enum:
- Source
- Sample
- Dataset
description: The type of Entity the metadata is for.
sub_type:
type: string
enum:
- Block
- Organ
- Section
- Suspension
description: The sub type of the Sample.
validate_uuids:
type: integer
description: Whether to validate UUIDs in the metadata, 0 or 1.
referrer:
type: string
description: 'The type of job and the URL path in the portal. Json formatted string {"type": "job_type", "path": "portal/url/path"}.'
metadata:
type: string
format: binary
description: The metadata TSV file.
responses:
"202":
description: The validation job was added to the queue and will be processed.
content:
application/json:
schema:
$ref: "#/components/schemas/JobCreated"
"400":
description: One or more required fields are missing or invalid.
content:
application/json:
schema:
properties:
error:
type: string
"401":
description: User's token is not valid or missing.
content:
application/json:
schema:
properties:
error:
type: string
"500":
description: An unexpected internal error occured.
content:
application/json:
schema:
properties:
error:
type: string
/metadata/register:
post:
tags:
- metadata
summary: Register metadata from a previously completed metadata validation job.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
job_id:
type: string
description: The job_id of the completed validation job.
referrer:
$ref: "#/components/schemas/Referrer"
responses:
"202":
description: The registration job was added to the queue and will be processed.
content:
application/json:
schema:
$ref: "#/components/schemas/JobCreated"
"400":
description: One or more required fields are missing or invalid.
content:
application/json:
schema:
properties:
error:
type: string
"401":
description: User's token is not valid or missing.
content:
application/json:
schema:
properties:
error:
type: string
"500":
description: An unexpected internal error occured.
content:
application/json:
schema:
properties:
error:
type: string
/metadata/data-provider-groups:
get:
tags:
- metadata
summary: Returns an array of nested objects containing information pertaining to all Data Provider groups.
responses:
"200":
description: The JSON containing an array of data provider group information
"401":
description: User's token is not valid
"500":
description: An unexpected error occurred
/sources/bulk/validate:
post:
tags:
- sources
summary: >
Validate an uploaded TSV file containing multiple Source records using the backend Job Queue.
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
description: The TSV file containing the Source records
group_uuid:
type: string
description: The UUID of the group the Sources should belong to
referrer:
type: string
description: 'The type of job and the URL path in the portal. Json formatted string {"type": "job_type", "path": "portal/url/path"}.'
responses:
"202":
description: File uploaded and validation job successfully created in the backend Job Queue
content:
application/json:
schema:
$ref: "#/components/schemas/JobCreated"
"400":
description: One or more required fields are missing or invalid.
content:
application/json:
schema:
properties:
error:
type: string
"401":
description: The user's token has expired or the user did not have authorization
"500":
description: Internal error
/sources/bulk/register:
post:
tags:
- sources
summary: Register the previously validated Source records using the backend Job Queue.
requestBody:
content:
application/json:
schema:
properties:
job_id:
type: string
description: The job ID of the previously created validation job
referrer:
$ref: "#/components/schemas/Referrer"
responses:
"202":
description: Registration job successfully created in the backend Job Queue
content:
application/json:
schema:
$ref: "#/components/schemas/JobCreated"
"400":
description: One or more required fields are missing or invalid.
content:
application/json:
schema:
properties:
error:
type: string
"401":
description: The user's token has expired or the user did not have authorization
"500":
description: Internal error
/samples/bulk/validate:
post:
tags:
- samples
summary: >
Validate an uploaded TSV file containing multiple Sample records using the backend Job Queue.
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
description: The TSV file containing the Sample records
group_uuid:
type: string
description: The UUID of the group the Samples should belong to
referrer:
type: string
description: 'The type of job and the URL path in the portal. Json formatted string {"type": "job_type", "path": "portal/url/path"}.'
responses:
"202":
description: File uploaded and validation job successfully created in the backend Job Queue
content:
application/json:
schema:
$ref: "#/components/schemas/JobCreated"
"400":
description: One or more required fields are missing or invalid.
content:
application/json:
schema:
properties:
error:
type: string
"401":
description: The user's token has expired or the user did not have authorization
"500":
description: Internal error
/samples/bulk/register:
post:
tags:
- samples
summary: Register the previously validated Sample records using the backend Job Queue.
requestBody:
content:
application/json:
schema:
properties:
job_id:
type: string
description: The job ID of the previously created validation job
referrer:
$ref: "#/components/schemas/Referrer"
responses:
"202":
description: Registration job successfully created in the backend Job Queue
content:
application/json:
schema:
$ref: "#/components/schemas/JobCreated"
"400":
description: One or more required fields are missing or invalid.
content:
application/json:
schema:
properties:
error:
type: string
"401":
description: The user's token has expired or the user did not have authorization
"500":
description: Internal error
/datasets/bulk/submit:
put:
tags:
- datasets
summary: "Submit a list of Datasets for processing. This requires SenNet Data-Admin privileges."
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/entity_uuid'
responses:
"202":
description: The Datasets were successfully submitted for processing
"401":
description: The user did not supply a valid token
"403":
description: The user does not have SenNet Data-Admin privileges
"404":
description: One or more supplied datasets do not exist
"500":
description: An unexpected error occured
/uploads/{identifier}/validate:
put:
tags:
- uploads
summary: Validate an upload.
operationId: validateUpload
parameters:
- name: identifier
in: path
description: The unique identifier of Upload. This identifier needs to be a valid SenNet ID.
required: true
schema:
type: string
responses:
"200":
description: Successful operation
"400":
description: There was a system error or an error in the data submitted
"401":
description: User's token is not valid
"500":
description: An unexpected error occured
/uploads/{identifier}/reorganize:
put:
tags:
- uploads
summary: Reorganize an upload. Creates Datasets from the Upload
operationId: reorganizeUpload
parameters:
- name: identifier
in: path
description: The unique identifier of Upload. This identifier needs to be a valid SenNet ID.
required: true
schema:
type: string
responses:
"200":
description: Successful operation
"400":
description: There was a system error or an error in the data submitted
"401":
description: User's token is not valid
"500":
description: An unexpected error occured
/vitessce/{identifier}:
get:
tags:
- vitessce
summary: Return a Vitessce configuration for a given Dataset UUID
parameters:
- name: identifier
in: path
description: The UUID of the Dataset.
required: true
schema:
type: string
responses:
"200":
description: The [Vitessce JSON configuration](http://vitessce.io/docs/view-config-json) for the given Dataset
"400":
description: Identifier is not a valid UUID
"401":
description: User's token is not valid
"500":
description: An unexpected error occurred
'/assaytype/{ds_uuid}':
get:
tags:
- assaytype
summary: Runs through the assay classifier with the provided Dataset to determine an assaytype
operationId: getAssayType
parameters:
- name: ds_uuid
in: path
description: The UUID of a Dataset
required: true
schema:
type: string
responses:
"200":
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/AssayTypeReturnDict'
"400":
description: The user sent a bad parameter (e.g. a nonexistent group name) or there was a system error
"401":
description: User's token is not valid
'/assaytype/metadata/{ds_uuid}':
get:
tags:
- assaytype
summary: Get the metadata for a specific Dataset
operationId: getMetadata
parameters:
- name: ds_uuid
in: path
description: The UUID of a Dataset
required: true
schema:
type: string
responses:
"200":
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata'
"400":
description: The user sent a bad parameter (e.g. a nonexistent group name) or there was a system error
"401":
description: User's token is not valid
'/assaytype':
post:
tags:
- assaytype
summary: Runs through the assay classifier with the provided metadata to determine an assaytype
operationId: getAssaytypeFromMetadata
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata'
responses:
"200":
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/AssayTypeReturnDict'
"400":
description: The user sent a bad parameter (e.g. a nonexistent group name) or there was a system error
"401":
description: User's token is not valid