-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.yaml
27923 lines (27089 loc) · 849 KB
/
openapi.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
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
paths:
/aa-sequences:
get:
description: List AA sequences
operationId: listAASequences
parameters:
- description: 'Number of results to return. Defaults to 50, maximum of 100.
'
in: query
name: pageSize
schema:
default: 50
maximum: 100
minimum: 0
nullable: false
type: integer
- description: Token for pagination
in: query
name: nextToken
schema:
type: string
- in: query
name: sort
schema:
default: modifiedAt:desc
description: 'Method by which to order search results. Valid sorts are modifiedAt
(modified time, most recent first) and name (entity name, alphabetical).
Optionally add :asc or :desc to specify ascending or descending order.
'
enum:
- modifiedAt
- modifiedAt:asc
- modifiedAt:desc
- name
- name:asc
- name:desc
nullable: false
type: string
- description: 'Datetime, in RFC 3339 format. Supports the > and < operators.
Time zone defaults to UTC. Restricts results to those modified in the specified
range. e.g. > 2017-04-30. Date ranges can be specified with the following
nomenclature > YYYY-MM-DD AND <YYYY-MM-DD.
'
examples:
and-range:
summary: Filter for all models modified within a certain range using the
AND operator.
value: '> 2022-03-01 AND < 2022-04-01'
full-rfc-3339-format:
summary: Filter for modified models using the full RFC 3339 format
value: '> 2020-12-31T21:07:14-05:00'
greater-than-example:
summary: Filter for all models modified after a certain date
value: '> 2022-03-01'
in: query
name: modifiedAt
schema:
type: string
- description: Name of an AA Sequence. Restricts results to those with the specified
name, alias, or entity registry ID.
in: query
name: name
schema:
type: string
- description: Name substring of an AA sequence. Restricts results to those
with names, aliases, or entity registry IDs that include the provided substring.
in: query
name: nameIncludes
schema:
type: string
- description: String of amino acids. Restricts results to AA sequences exactly
matching these amino acids (case-insensitive).
in: query
name: aminoAcids
schema:
type: string
- description: ID of a folder. Restricts results to those in the folder.
in: query
name: folderId
schema:
type: string
- description: 'Comma-separated list of entry IDs. Restricts results to AA sequences
mentioned in those entries.
'
in: query
name: mentionedIn
schema:
type: string
- description: ID of a project. Restricts results to those in the project.
in: query
name: projectId
schema:
type: string
- description: 'ID of a registry. Restricts results to those registered in this
registry. Specifying "null" returns unregistered items.
'
in: query
name: registryId
schema:
nullable: true
type: string
- description: 'ID of a schema. Restricts results to those of the specified
schema.
'
in: query
name: schemaId
schema:
type: string
- description: 'Schema field value. For Integer, Float, and Date type fields,
supports the >= and <= operators. If present, the schemaId param must also
be present. Restricts results to those with a field of whose value matches
the filter.
'
in: query
name: schemaFields
schema:
$ref: '#/components/schemas/SchemaFieldsQueryParam'
- description: 'Archive reason. Restricts items to those with the specified
archive reason. Use "NOT_ARCHIVED" to filter for unarchived AA sequences.
Use "ANY_ARCHIVED" to filter for archived AA sequences regardless of reason.
Use "ANY_ARCHIVED_OR_NOT_ARCHIVED" to return items for both archived and
unarchived.
'
examples:
1_not_archived:
summary: Only include unarchived items (default).
value: NOT_ARCHIVED
2_archived_reason:
summary: Includes items archived for a specific reason.
value: Retired
3_any_archived:
summary: Includes items archived for any reason.
value: ANY_ARCHIVED
4_any_archived_or_not_archived:
summary: Includes both archived and unarchived items.
value: ANY_ARCHIVED_OR_NOT_ARCHIVED
in: query
name: archiveReason
schema:
type: string
- description: 'Comma-separated list of item IDs. Restricts results to those
that mention the given items in the description.
'
in: query
name: mentions
schema:
type: string
- description: 'Comma-separated list of ids. Matches all of the provided IDs,
or returns a 400 error that includes a list of which IDs are invalid.
'
in: query
name: ids
schema:
example: prtn_6gxJGfPh,prtn_u7fOvqWg
type: string
- description: 'Comma-separated list of entity registry IDs. Restricts results
to those that match any of the specified registry IDs.
'
in: query
name: entityRegistryIds.anyOf
schema:
example: TP001,TP002
type: string
- description: 'Comma-separated list of names. Restricts results to those that
match any of the specified names, aliases, or entity registry IDs, case
insensitive. Warning - this filter can be non-performant due to case insensitivity.
'
in: query
name: names.anyOf
schema:
example: MyName1,MyName2
type: string
- description: 'Comma-separated list of names. Restricts results to those that
match any of the specified names, aliases, or entity registry IDs, case
sensitive.
'
in: query
name: names.anyOf.caseSensitive
schema:
example: MyName1,MyName2
type: string
- description: Comma separated list of users IDs
in: query
name: creatorIds
schema:
example: ent_a0SApq3z
type: string
- description: Comma separated list of user or app IDs
in: query
name: authorIds.anyOf
schema:
example: ent_a0SApq3z,ent_b4AApz9b
type: string
- description: 'Comma-separated list of fields to return. Modifies the output
shape. To return all keys at a given level, enumerate them or use the wildcard,
''*''. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter).
**Note**: Fields annotations, translations, and primers cannot be introspected
with the returning parameter, and any sub fields will be ignored. E.g.:
"aaSequences.annotations.id" will return the same as "aaSequences.annotations".
'
in: query
name: returning
schema:
example: aaSequences.id,aaSequences.modifiedAt
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesPaginatedList'
description: OK
headers:
Result-Count:
description: The total number of items that match the given query
schema:
type: integer
x-rate-limit-limit:
description: The number of allowed requests in the current rate-limit
period
schema:
type: integer
x-rate-limit-remaining:
description: The number of requests remaining in the current rate-limit
period
schema:
type: integer
x-rate-limit-reset:
description: The number of seconds remaining in the current rate-limit
period
schema:
type: integer
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: List AA sequences
tags:
- AA Sequences
post:
description: Create an AA sequence
operationId: createAASequence
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequenceCreate'
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequence'
description: Created
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
'503':
description: Service Unavailable (Lock Contention)
summary: Create an AA sequence
tags:
- AA Sequences
/aa-sequences/{aa_sequence_id}:
get:
description: Get an AA sequence
operationId: getAASequence
parameters:
- in: path
name: aa_sequence_id
required: true
schema:
type: string
- description: 'Comma-separated list of fields to return. Modifies the output
shape. To return all keys at a given level, enumerate them or use the wildcard,
''*''. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter).
**Note**: Fields annotations, translations, and primers cannot be introspected
with the returning parameter, and any sub fields will be ignored. E.g.:
"annotations.id" will return the same as "annotations".
'
in: query
name: returning
schema:
example: id,modifiedAt
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequence'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Get an AA sequence
tags:
- AA Sequences
patch:
description: Update an AA sequence
operationId: updateAASequence
parameters:
- in: path
name: aa_sequence_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequenceUpdate'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequence'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Update an AA sequence
tags:
- AA Sequences
/aa-sequences:archive:
post:
description: Archive AA sequences
operationId: archiveAASequences
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesArchive'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesArchivalChange'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Archive AA sequences
tags:
- AA Sequences
/aa-sequences:auto-annotate:
post:
description: Auto-annotate AA sequences with matching features from specified
Feature Libraries
operationId: autoAnnotateAaSequences
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AutoAnnotateAaSequences'
responses:
'202':
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncTaskLink'
description: 'This endpoint launches a [long-running task](#/Tasks/getTask)
and returns the Task ID of the launched task.
When successful, the task has an empty response.
'
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Auto-annotate AA sequences with matching features from specified Feature
Libraries
tags:
- AA Sequences
/aa-sequences:bulk-create:
post:
description: Bulk Create AA sequences. Limit of 1000 AA Sequences per request.
operationId: bulkCreateAASequences
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesBulkCreateRequest'
responses:
'202':
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncTaskLink'
description: 'This endpoint launches a [long-running task](#/Tasks/getTask)
and returns the Task ID of the launched task.
The task response contains the full list of AA Sequences that were created.
'
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Bulk Create AA sequences
tags:
- AA Sequences
/aa-sequences:bulk-get:
get:
description: Bulk get AA sequences by ID
operationId: bulkGetAASequences
parameters:
- description: 'Comma-separated list of IDs of AA sequences to get.
'
in: query
name: aaSequenceIds
required: true
schema:
type: string
- description: 'Comma-separated list of fields to return. Modifies the output
shape. To return all keys at a given level, enumerate them or use the wildcard,
''*''. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter).
**Note**: Fields annotations, translations, and primers cannot be introspected
with the returning parameter, and any sub fields will be ignored. E.g.:
"aaSequences.annotations.id" will return the same as "aaSequences.annotations".
'
in: query
name: returning
schema:
example: aaSequences.id, aaSequences.modifiedAt
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesBulkGet'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Bulk get AA sequences by ID
tags:
- AA Sequences
/aa-sequences:bulk-update:
post:
description: Bulk Update AA sequences
operationId: bulkUpdateAASequences
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesBulkUpdateRequest'
responses:
'202':
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncTaskLink'
description: 'This endpoint launches a [long-running task](#/Tasks/getTask)
and returns the Task ID of the launched task.
When successful, the task returns a full list of [AA Sequence](#/AA%20Sequences/bulkGetAASequences)
resources
that were updated.
'
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Bulk Update AA sequences
tags:
- AA Sequences
/aa-sequences:unarchive:
post:
description: Unarchive AA sequences
operationId: unarchiveAASequences
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesUnarchive'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AaSequencesArchivalChange'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Unarchive AA sequences
tags:
- AA Sequences
/app-configuration-items:
get:
description: Get app configuration items
operationId: listAppConfigurationItems
parameters:
- description: Token for pagination
in: query
name: nextToken
schema:
type: string
- description: Number of results to return. Defaults to 50, maximum of 100.
in: query
name: pageSize
schema:
default: 50
maximum: 100
minimum: 0
nullable: false
type: integer
- description: 'Datetime, in RFC 3339 format. Supports the > and < operators.
Time zone defaults to UTC. Restricts results to those modified in the specified
range. e.g. > 2017-04-30. Date ranges can be specified with the following
nomenclature > YYYY-MM-DD AND <YYYY-MM-DD.
'
examples:
and-range:
summary: Filter for all models modified within a certain range using the
AND operator.
value: '> 2022-03-01 AND < 2022-04-01'
full-rfc-3339-format:
summary: Filter for modified models using the full RFC 3339 format
value: '> 2020-12-31T21:07:14-05:00'
greater-than-example:
summary: Filter for all models modified after a certain date
value: '> 2022-03-01'
in: query
name: modifiedAt
schema:
type: string
- description: App id to which the configuration belongs.
example: app_e59sjL23Pqn30xHg
in: query
name: appId
schema:
type: string
- description: 'Comma-separated list of ids. Matches all of the provided IDs,
or returns a 400 error that includes a list of which IDs are invalid.
'
in: query
name: ids
schema:
example: aci_VfVOART1,aci_RFhDGaaC
type: string
- in: query
name: sort
schema:
default: modifiedAt:desc
description: 'Method by which to order search results. Valid sorts are modifiedAt
(modified time, most recent first) and createdAt (created time, most recent
first). Optionally add :asc or :desc to specify ascending or descending
order.
'
enum:
- createdAt
- createdAt:asc
- createdAt:desc
- modifiedAt
- modifiedAt:asc
- modifiedAt:desc
nullable: false
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigurationPaginatedList'
description: OK
headers:
Result-Count:
description: The total number of items that match the given query
schema:
type: integer
x-rate-limit-limit:
description: The number of allowed requests in the current rate-limit
period
schema:
type: integer
x-rate-limit-remaining:
description: The number of requests remaining in the current rate-limit
period
schema:
type: integer
x-rate-limit-reset:
description: The number of seconds remaining in the current rate-limit
period
schema:
type: integer
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: Not Found
summary: Get app configuration items
tags:
- Apps
post:
description: Create app configuration item
operationId: createAppConfigurationItem
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigItemCreate'
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigItem'
description: Created
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Create app configuration item
tags:
- Apps
/app-configuration-items/{item_id}:
get:
description: Get app configuration item
operationId: getAppConfigurationItemById
parameters:
- example: aci_e59sjL23Pqn30xHg
in: path
name: item_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigItem'
description: OK
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: Not Found
summary: Get app configuration item
tags:
- Apps
patch:
description: Update app configuration item
operationId: updateAppConfigurationItem
parameters:
- example: aci_e59sjL23Pqn30xHg
in: path
name: item_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigItemUpdate'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigItem'
description: OK
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenError'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: Not Found
summary: Update app configuration item
tags:
- Apps
/app-configuration-items:bulk-create:
post:
description: Bulk Create app configuration items
operationId: bulkCreateAppConfigurationItems
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigItemsBulkCreateRequest'
responses:
'202':
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncTaskLink'
description: Accepted
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Bulk Create app configuration items. Limit of 1000 App Config Items
per request.
tags:
- Apps
/app-configuration-items:bulk-update:
post:
description: Bulk Update app configuration items
operationId: bulkUpdateAppConfigurationItems
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AppConfigItemsBulkUpdateRequest'
responses:
'202':
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncTaskLink'
description: Accepted
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
summary: Bulk Update app configuration items. Limit of 1000 App Config Items
per request.
tags:
- Apps
/apps:
get:
description: List apps
operationId: listBenchlingApps
parameters:
- description: Number of results to return.
in: query
name: pageSize
schema:
default: 50
maximum: 100
nullable: false
type: integer
- description: Token for pagination
in: query
name: nextToken
schema:
type: string
- description: 'Method by which to order search results. Valid sorts are modifiedAt
(modified time, most recent first) and name (app name, alphabetical). Optionally
add :asc or :desc to specify ascending or descending order. Default is modifiedAt.
'
in: query
name: sort
schema:
default: modifiedAt
enum:
- modifiedAt
- name
- modifiedAt:asc
- name:asc
- modifiedAt:desc
- name:desc
nullable: false
type: string
- description: 'Comma-separated list of ids. Matches all of the provided IDs,
or returns a 400 error that includes a list of which IDs are invalid.
'
in: query
name: ids
schema:
example: app_J39na03L1nsLS34o,app_ae92kBv9aNSl593z,app_e59sjL23Pqn30xHg
type: string
- description: 'Datetime, in RFC 3339 format. Supports the > and < operators.
Time zone defaults to UTC. Restricts results to those modified in the specified
range. e.g. > 2017-04-30. Date ranges can be specified with the following
nomenclature > YYYY-MM-DD AND <YYYY-MM-DD.
'
examples:
and-range:
summary: Filter for all models modified within a certain range using the
AND operator.
value: '> 2022-03-01 AND < 2022-04-01'
full-rfc-3339-format:
summary: Filter for modified models using the full RFC 3339 format
value: '> 2020-12-31T21:07:14-05:00'
greater-than-example:
summary: Filter for all models modified after a certain date
value: '> 2022-03-01'
in: query
name: modifiedAt
schema:
type: string
- description: Name of an app. Restricts results to those with the specified
name.
in: query
name: name
schema:
type: string
- description: Name substring of an app. Restricts results to those with names
that include the provided substring.
in: query
name: nameIncludes
schema:
type: string
- description: 'Comma-separated list of app names. Restricts results to those
that match any of the specified names, case insensitive. Warning - this
filter can be non-performant due to case insensitivity.
'
in: query
name: names.anyOf
schema:
example: MyName1, MyName2
type: string
- description: 'Comma-separated list of app names. Restricts results to those
that match any of the specified names, case sensitive.
'
in: query
name: names.anyOf.caseSensitive
schema:
example: MyName1,MyName2
type: string
- description: Comma separated list of users IDs
in: query
name: creatorIds
schema:
example: ent_a0SApq3z
type: string
- description: Comma-separated list of organization and/or team API IDs. Restricts
results to apps that are members of all given groups.
in: query
name: memberOf
schema:
type: string
- description: Comma-separated list of organization and/or team API IDs. Restricts
results to apps that are admins of all given groups.
in: query
name: adminOf
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/BenchlingAppsPaginatedList'
description: OK
headers:
Result-Count:
description: The total number of items that match the given query
schema:
type: integer
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenError'
description: Forbidden
summary: List apps
tags:
- Apps
post:
description: Create an app
operationId: createBenchlingApp
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BenchlingAppCreate'
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/BenchlingApp'
description: Created
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenError'
description: Forbidden
'409':
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictError'
description: Conflict
summary: Create an app
tags:
- Apps
/apps/{app_id}:
get:
description: Get an app by ID
operationId: getBenchlingAppByID
parameters:
- example: app_J39na03L1nsLS34o
in: path
name: app_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/BenchlingApp'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestError'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenError'