flywheel-sdk 19.2.0__py2.py3-none-any.whl → 19.3.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flywheel/api/acquisitions_api.py +162 -52
- flywheel/api/analyses_api.py +164 -60
- flywheel/api/collections_api.py +146 -38
- flywheel/api/containers_api.py +58 -52
- flywheel/api/files_api.py +104 -0
- flywheel/api/groups_api.py +114 -10
- flywheel/api/projects_api.py +170 -60
- flywheel/api/sessions_api.py +162 -52
- flywheel/api/subjects_api.py +162 -52
- flywheel/api_client.py +26 -12
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +316 -195
- flywheel/gear_context.py +12 -1
- flywheel/models/__init__.py +1 -1
- flywheel/models/action.py +2 -0
- flywheel/models/azure_creds.py +2 -1
- flywheel/models/features.py +28 -28
- {flywheel_sdk-19.2.0.dist-info → flywheel_sdk-19.3.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-19.2.0.dist-info → flywheel_sdk-19.3.0.dist-info}/RECORD +22 -22
- {flywheel_sdk-19.2.0.dist-info → flywheel_sdk-19.3.0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-19.2.0.dist-info → flywheel_sdk-19.3.0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-19.2.0.dist-info → flywheel_sdk-19.3.0.dist-info}/top_level.txt +0 -0
flywheel/api/acquisitions_api.py
CHANGED
|
@@ -263,8 +263,9 @@ class AcquisitionsApi(object):
|
|
|
263
263
|
collection_formats=collection_formats)
|
|
264
264
|
|
|
265
265
|
def add_acquisition_analysis_note(self, container_id, analysis_id, body, **kwargs): # noqa: E501
|
|
266
|
-
"""Add a note to acquisition analysis.
|
|
266
|
+
"""Add a note to a(n) acquisition analysis.
|
|
267
267
|
|
|
268
|
+
Add a note to a(n) acquisition analysis.
|
|
268
269
|
This method makes a synchronous HTTP request by default.
|
|
269
270
|
|
|
270
271
|
:param str container_id: 24-char hex id (required)
|
|
@@ -290,8 +291,9 @@ class AcquisitionsApi(object):
|
|
|
290
291
|
|
|
291
292
|
|
|
292
293
|
def add_acquisition_analysis_note_with_http_info(self, container_id, analysis_id, body, **kwargs): # noqa: E501
|
|
293
|
-
"""Add a note to acquisition analysis.
|
|
294
|
+
"""Add a note to a(n) acquisition analysis.
|
|
294
295
|
|
|
296
|
+
Add a note to a(n) acquisition analysis.
|
|
295
297
|
This method makes a synchronous HTTP request by default.
|
|
296
298
|
|
|
297
299
|
:param str container_id: 24-char hex id (required)
|
|
@@ -384,8 +386,9 @@ class AcquisitionsApi(object):
|
|
|
384
386
|
collection_formats=collection_formats)
|
|
385
387
|
|
|
386
388
|
def add_acquisition_note(self, container_id, body, **kwargs): # noqa: E501
|
|
387
|
-
"""Add a note to acquisition.
|
|
389
|
+
"""Add a note to a(n) acquisition.
|
|
388
390
|
|
|
391
|
+
Add a note to a(n) acquisition.
|
|
389
392
|
This method makes a synchronous HTTP request by default.
|
|
390
393
|
|
|
391
394
|
:param str container_id: (required)
|
|
@@ -410,8 +413,9 @@ class AcquisitionsApi(object):
|
|
|
410
413
|
|
|
411
414
|
|
|
412
415
|
def add_acquisition_note_with_http_info(self, container_id, body, **kwargs): # noqa: E501
|
|
413
|
-
"""Add a note to acquisition.
|
|
416
|
+
"""Add a note to a(n) acquisition.
|
|
414
417
|
|
|
418
|
+
Add a note to a(n) acquisition.
|
|
415
419
|
This method makes a synchronous HTTP request by default.
|
|
416
420
|
|
|
417
421
|
:param str container_id: (required)
|
|
@@ -497,7 +501,7 @@ class AcquisitionsApi(object):
|
|
|
497
501
|
collection_formats=collection_formats)
|
|
498
502
|
|
|
499
503
|
def add_acquisition_tag(self, cid, body, **kwargs): # noqa: E501
|
|
500
|
-
"""Add a tag to acquisition.
|
|
504
|
+
"""Add a tag to a(n) acquisition.
|
|
501
505
|
|
|
502
506
|
Propagates changes to projects, sessions and acquisitions
|
|
503
507
|
This method makes a synchronous HTTP request by default.
|
|
@@ -524,7 +528,7 @@ class AcquisitionsApi(object):
|
|
|
524
528
|
|
|
525
529
|
|
|
526
530
|
def add_acquisition_tag_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
527
|
-
"""Add a tag to acquisition.
|
|
531
|
+
"""Add a tag to a(n) acquisition.
|
|
528
532
|
|
|
529
533
|
Propagates changes to projects, sessions and acquisitions
|
|
530
534
|
This method makes a synchronous HTTP request by default.
|
|
@@ -612,9 +616,9 @@ class AcquisitionsApi(object):
|
|
|
612
616
|
collection_formats=collection_formats)
|
|
613
617
|
|
|
614
618
|
def add_acquisition_tags(self, cid, body, **kwargs): # noqa: E501
|
|
615
|
-
"""Add multiple tags to acquisition
|
|
619
|
+
"""Add multiple tags to a(n) acquisition
|
|
616
620
|
|
|
617
|
-
Add multiple tags to acquisition
|
|
621
|
+
Add multiple tags to a(n) acquisition
|
|
618
622
|
This method makes a synchronous HTTP request by default.
|
|
619
623
|
|
|
620
624
|
:param str cid: (required)
|
|
@@ -639,9 +643,9 @@ class AcquisitionsApi(object):
|
|
|
639
643
|
|
|
640
644
|
|
|
641
645
|
def add_acquisition_tags_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
642
|
-
"""Add multiple tags to acquisition
|
|
646
|
+
"""Add multiple tags to a(n) acquisition
|
|
643
647
|
|
|
644
|
-
Add multiple tags to acquisition
|
|
648
|
+
Add multiple tags to a(n) acquisition
|
|
645
649
|
This method makes a synchronous HTTP request by default.
|
|
646
650
|
|
|
647
651
|
:param str cid: (required)
|
|
@@ -820,7 +824,7 @@ class AcquisitionsApi(object):
|
|
|
820
824
|
collection_formats=collection_formats)
|
|
821
825
|
|
|
822
826
|
def delete_acquisition_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
823
|
-
"""Delete an
|
|
827
|
+
"""Delete an analysis
|
|
824
828
|
|
|
825
829
|
Delete an analysis for a container.
|
|
826
830
|
This method makes a synchronous HTTP request by default.
|
|
@@ -848,7 +852,7 @@ class AcquisitionsApi(object):
|
|
|
848
852
|
|
|
849
853
|
|
|
850
854
|
def delete_acquisition_analysis_with_http_info(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
851
|
-
"""Delete an
|
|
855
|
+
"""Delete an analysis
|
|
852
856
|
|
|
853
857
|
Delete an analysis for a container.
|
|
854
858
|
This method makes a synchronous HTTP request by default.
|
|
@@ -928,9 +932,9 @@ class AcquisitionsApi(object):
|
|
|
928
932
|
collection_formats=collection_formats)
|
|
929
933
|
|
|
930
934
|
def delete_acquisition_analysis_note(self, cid, analysis_id, note_id, **kwargs): # noqa: E501
|
|
931
|
-
"""Remove a note from acquisition analysis.
|
|
935
|
+
"""Remove a note from a(n) acquisition analysis.
|
|
932
936
|
|
|
933
|
-
Remove a note from acquisition analysis.
|
|
937
|
+
Remove a note from a(n) acquisition analysis.
|
|
934
938
|
This method makes a synchronous HTTP request by default.
|
|
935
939
|
|
|
936
940
|
:param str cid: 24-char hex id (required)
|
|
@@ -956,9 +960,9 @@ class AcquisitionsApi(object):
|
|
|
956
960
|
|
|
957
961
|
|
|
958
962
|
def delete_acquisition_analysis_note_with_http_info(self, cid, analysis_id, note_id, **kwargs): # noqa: E501
|
|
959
|
-
"""Remove a note from acquisition analysis.
|
|
963
|
+
"""Remove a note from a(n) acquisition analysis.
|
|
960
964
|
|
|
961
|
-
Remove a note from acquisition analysis.
|
|
965
|
+
Remove a note from a(n) acquisition analysis.
|
|
962
966
|
This method makes a synchronous HTTP request by default.
|
|
963
967
|
|
|
964
968
|
:param str cid: 24-char hex id (required)
|
|
@@ -1152,9 +1156,9 @@ class AcquisitionsApi(object):
|
|
|
1152
1156
|
collection_formats=collection_formats)
|
|
1153
1157
|
|
|
1154
1158
|
def delete_acquisition_note(self, cid, note_id, **kwargs): # noqa: E501
|
|
1155
|
-
"""Remove a note from acquisition
|
|
1159
|
+
"""Remove a note from a(n) acquisition
|
|
1156
1160
|
|
|
1157
|
-
Remove a note from acquisition
|
|
1161
|
+
Remove a note from a(n) acquisition
|
|
1158
1162
|
This method makes a synchronous HTTP request by default.
|
|
1159
1163
|
|
|
1160
1164
|
:param str cid: (required)
|
|
@@ -1179,9 +1183,9 @@ class AcquisitionsApi(object):
|
|
|
1179
1183
|
|
|
1180
1184
|
|
|
1181
1185
|
def delete_acquisition_note_with_http_info(self, cid, note_id, **kwargs): # noqa: E501
|
|
1182
|
-
"""Remove a note from acquisition
|
|
1186
|
+
"""Remove a note from a(n) acquisition
|
|
1183
1187
|
|
|
1184
|
-
Remove a note from acquisition
|
|
1188
|
+
Remove a note from a(n) acquisition
|
|
1185
1189
|
This method makes a synchronous HTTP request by default.
|
|
1186
1190
|
|
|
1187
1191
|
:param str cid: (required)
|
|
@@ -1360,9 +1364,9 @@ class AcquisitionsApi(object):
|
|
|
1360
1364
|
collection_formats=collection_formats)
|
|
1361
1365
|
|
|
1362
1366
|
def delete_acquisition_tags(self, cid, body, **kwargs): # noqa: E501
|
|
1363
|
-
"""Delete multiple tags from acquisition
|
|
1367
|
+
"""Delete multiple tags from a(n) acquisition
|
|
1364
1368
|
|
|
1365
|
-
Delete multiple tags from acquisition
|
|
1369
|
+
Delete multiple tags from a(n) acquisition
|
|
1366
1370
|
This method makes a synchronous HTTP request by default.
|
|
1367
1371
|
|
|
1368
1372
|
:param str cid: (required)
|
|
@@ -1387,9 +1391,9 @@ class AcquisitionsApi(object):
|
|
|
1387
1391
|
|
|
1388
1392
|
|
|
1389
1393
|
def delete_acquisition_tags_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
1390
|
-
"""Delete multiple tags from acquisition
|
|
1394
|
+
"""Delete multiple tags from a(n) acquisition
|
|
1391
1395
|
|
|
1392
|
-
Delete multiple tags from acquisition
|
|
1396
|
+
Delete multiple tags from a(n) acquisition
|
|
1393
1397
|
This method makes a synchronous HTTP request by default.
|
|
1394
1398
|
|
|
1395
1399
|
:param str cid: (required)
|
|
@@ -1467,13 +1471,117 @@ class AcquisitionsApi(object):
|
|
|
1467
1471
|
_request_out=params.get('_request_out'),
|
|
1468
1472
|
collection_formats=collection_formats)
|
|
1469
1473
|
|
|
1474
|
+
def delete_acquisitions_by_ids(self, body, **kwargs): # noqa: E501
|
|
1475
|
+
"""Delete multiple acquisitions by ID list
|
|
1476
|
+
|
|
1477
|
+
Delete multiple acquisitions by ID list
|
|
1478
|
+
This method makes a synchronous HTTP request by default.
|
|
1479
|
+
|
|
1480
|
+
:param list[str] body: List of IDs to delete (required)
|
|
1481
|
+
:param ContainerDeleteReason delete_reason:
|
|
1482
|
+
:param bool async_: Perform the request asynchronously
|
|
1483
|
+
:return: DeletedResult
|
|
1484
|
+
"""
|
|
1485
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
1486
|
+
kwargs['_return_http_data_only'] = True
|
|
1487
|
+
|
|
1488
|
+
if kwargs.get('async_'):
|
|
1489
|
+
return self.delete_acquisitions_by_ids_with_http_info(body, **kwargs) # noqa: E501
|
|
1490
|
+
else:
|
|
1491
|
+
(data) = self.delete_acquisitions_by_ids_with_http_info(body, **kwargs) # noqa: E501
|
|
1492
|
+
if (
|
|
1493
|
+
data
|
|
1494
|
+
and hasattr(data, 'return_value')
|
|
1495
|
+
and not ignore_simplified_return_value
|
|
1496
|
+
):
|
|
1497
|
+
return data.return_value()
|
|
1498
|
+
return data
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
def delete_acquisitions_by_ids_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1502
|
+
"""Delete multiple acquisitions by ID list
|
|
1503
|
+
|
|
1504
|
+
Delete multiple acquisitions by ID list
|
|
1505
|
+
This method makes a synchronous HTTP request by default.
|
|
1506
|
+
|
|
1507
|
+
:param list[str] body: List of IDs to delete (required)
|
|
1508
|
+
:param ContainerDeleteReason delete_reason:
|
|
1509
|
+
:param bool async_: Perform the request asynchronously
|
|
1510
|
+
:return: DeletedResult
|
|
1511
|
+
"""
|
|
1512
|
+
|
|
1513
|
+
all_params = ['body','delete_reason',] # noqa: E501
|
|
1514
|
+
all_params.append('async_')
|
|
1515
|
+
all_params.append('_return_http_data_only')
|
|
1516
|
+
all_params.append('_preload_content')
|
|
1517
|
+
all_params.append('_request_timeout')
|
|
1518
|
+
all_params.append('_request_out')
|
|
1519
|
+
|
|
1520
|
+
params = locals()
|
|
1521
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1522
|
+
if key not in all_params:
|
|
1523
|
+
raise TypeError(
|
|
1524
|
+
"Got an unexpected keyword argument '%s'"
|
|
1525
|
+
" to method delete_acquisitions_by_ids" % key
|
|
1526
|
+
)
|
|
1527
|
+
params[key] = val
|
|
1528
|
+
del params['kwargs']
|
|
1529
|
+
# verify the required parameter 'body' is set
|
|
1530
|
+
if ('body' not in params or
|
|
1531
|
+
params['body'] is None):
|
|
1532
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_acquisitions_by_ids`") # noqa: E501
|
|
1533
|
+
|
|
1534
|
+
collection_formats = {}
|
|
1535
|
+
|
|
1536
|
+
path_params = {}
|
|
1537
|
+
|
|
1538
|
+
query_params = []
|
|
1539
|
+
if 'delete_reason' in params:
|
|
1540
|
+
query_params.append(('delete_reason', params['delete_reason'])) # noqa: E501
|
|
1541
|
+
|
|
1542
|
+
header_params = {}
|
|
1543
|
+
|
|
1544
|
+
form_params = []
|
|
1545
|
+
local_var_files = {}
|
|
1546
|
+
|
|
1547
|
+
body_params = None
|
|
1548
|
+
if 'body' in params:
|
|
1549
|
+
body_params = params['body']
|
|
1550
|
+
# HTTP header `Accept`
|
|
1551
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1552
|
+
['application/json']) # noqa: E501
|
|
1553
|
+
|
|
1554
|
+
# HTTP header `Content-Type`
|
|
1555
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1556
|
+
['application/json']) # noqa: E501
|
|
1557
|
+
|
|
1558
|
+
# Authentication setting
|
|
1559
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
1560
|
+
|
|
1561
|
+
return self.api_client.call_api(
|
|
1562
|
+
'/acquisitions', 'DELETE',
|
|
1563
|
+
path_params,
|
|
1564
|
+
query_params,
|
|
1565
|
+
header_params,
|
|
1566
|
+
body=body_params,
|
|
1567
|
+
post_params=form_params,
|
|
1568
|
+
files=local_var_files,
|
|
1569
|
+
response_type='DeletedResult', # noqa: E501
|
|
1570
|
+
auth_settings=auth_settings,
|
|
1571
|
+
async_=params.get('async_'),
|
|
1572
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1573
|
+
_preload_content=params.get('_preload_content', True),
|
|
1574
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1575
|
+
_request_out=params.get('_request_out'),
|
|
1576
|
+
collection_formats=collection_formats)
|
|
1577
|
+
|
|
1470
1578
|
def download_file_from_acquisition(self, acquisition_id, file_name, dest_file, **kwargs): # noqa: E501
|
|
1471
1579
|
"""Download a file.
|
|
1472
1580
|
|
|
1473
1581
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1474
1582
|
This method makes a synchronous HTTP request by default.
|
|
1475
1583
|
|
|
1476
|
-
:param str acquisition_id: 24-
|
|
1584
|
+
:param str acquisition_id: 24-character hex ID (required)
|
|
1477
1585
|
:param str file_name: output file name (required)
|
|
1478
1586
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
1479
1587
|
:param str member: The filename of a zipfile member to download rather than the entire file
|
|
@@ -1507,7 +1615,7 @@ class AcquisitionsApi(object):
|
|
|
1507
1615
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1508
1616
|
This method makes a synchronous HTTP request by default.
|
|
1509
1617
|
|
|
1510
|
-
:param str acquisition_id: 24-
|
|
1618
|
+
:param str acquisition_id: 24-character hex ID (required)
|
|
1511
1619
|
:param str file_name: output file name (required)
|
|
1512
1620
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
1513
1621
|
:param str member: The filename of a zipfile member to download rather than the entire file
|
|
@@ -1606,7 +1714,7 @@ class AcquisitionsApi(object):
|
|
|
1606
1714
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1607
1715
|
This method makes a synchronous HTTP request by default.
|
|
1608
1716
|
|
|
1609
|
-
:param str acquisition_id: 24-
|
|
1717
|
+
:param str acquisition_id: 24-character hex ID (required)
|
|
1610
1718
|
:param str file_name: output file name (required)
|
|
1611
1719
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1612
1720
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -1641,7 +1749,7 @@ class AcquisitionsApi(object):
|
|
|
1641
1749
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1642
1750
|
This method makes a synchronous HTTP request by default.
|
|
1643
1751
|
|
|
1644
|
-
:param str acquisition_id: 24-
|
|
1752
|
+
:param str acquisition_id: 24-character hex ID (required)
|
|
1645
1753
|
:param str file_name: output file name (required)
|
|
1646
1754
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1647
1755
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -1745,7 +1853,7 @@ class AcquisitionsApi(object):
|
|
|
1745
1853
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1746
1854
|
This method makes a synchronous HTTP request by default.
|
|
1747
1855
|
|
|
1748
|
-
:param str acquisition_id: 24-
|
|
1856
|
+
:param str acquisition_id: 24-character hex ID (required)
|
|
1749
1857
|
:param str file_name: output file name (required)
|
|
1750
1858
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1751
1859
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -1780,7 +1888,7 @@ class AcquisitionsApi(object):
|
|
|
1780
1888
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1781
1889
|
This method makes a synchronous HTTP request by default.
|
|
1782
1890
|
|
|
1783
|
-
:param str acquisition_id: 24-
|
|
1891
|
+
:param str acquisition_id: 24-character hex ID (required)
|
|
1784
1892
|
:param str file_name: output file name (required)
|
|
1785
1893
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1786
1894
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -2804,7 +2912,7 @@ class AcquisitionsApi(object):
|
|
|
2804
2912
|
collection_formats=collection_formats)
|
|
2805
2913
|
|
|
2806
2914
|
def get_acquisition_analyses(self, cid, **kwargs): # noqa: E501
|
|
2807
|
-
"""Get analyses for acquisition.
|
|
2915
|
+
"""Get analyses for a(n) acquisition.
|
|
2808
2916
|
|
|
2809
2917
|
Returns analyses that directly belong to this resource.
|
|
2810
2918
|
This method makes a synchronous HTTP request by default.
|
|
@@ -2840,7 +2948,7 @@ class AcquisitionsApi(object):
|
|
|
2840
2948
|
|
|
2841
2949
|
|
|
2842
2950
|
def get_acquisition_analyses_with_http_info(self, cid, **kwargs): # noqa: E501
|
|
2843
|
-
"""Get analyses for acquisition.
|
|
2951
|
+
"""Get analyses for a(n) acquisition.
|
|
2844
2952
|
|
|
2845
2953
|
Returns analyses that directly belong to this resource.
|
|
2846
2954
|
This method makes a synchronous HTTP request by default.
|
|
@@ -3062,7 +3170,7 @@ class AcquisitionsApi(object):
|
|
|
3062
3170
|
Get info for a particular file.
|
|
3063
3171
|
This method makes a synchronous HTTP request by default.
|
|
3064
3172
|
|
|
3065
|
-
:param str cid: (required)
|
|
3173
|
+
:param str cid: Container Id (required)
|
|
3066
3174
|
:param str filename: (required)
|
|
3067
3175
|
:param bool async_: Perform the request asynchronously
|
|
3068
3176
|
:return: FileOutput
|
|
@@ -3089,7 +3197,7 @@ class AcquisitionsApi(object):
|
|
|
3089
3197
|
Get info for a particular file.
|
|
3090
3198
|
This method makes a synchronous HTTP request by default.
|
|
3091
3199
|
|
|
3092
|
-
:param str cid: (required)
|
|
3200
|
+
:param str cid: Container Id (required)
|
|
3093
3201
|
:param str filename: (required)
|
|
3094
3202
|
:param bool async_: Perform the request asynchronously
|
|
3095
3203
|
:return: FileOutput
|
|
@@ -3161,9 +3269,9 @@ class AcquisitionsApi(object):
|
|
|
3161
3269
|
collection_formats=collection_formats)
|
|
3162
3270
|
|
|
3163
3271
|
def get_acquisition_note(self, cid, note_id, **kwargs): # noqa: E501
|
|
3164
|
-
"""Get a note
|
|
3272
|
+
"""Get a note of a(n) acquisition.
|
|
3165
3273
|
|
|
3166
|
-
Get a note
|
|
3274
|
+
Get a note of a(n) acquisition
|
|
3167
3275
|
This method makes a synchronous HTTP request by default.
|
|
3168
3276
|
|
|
3169
3277
|
:param str cid: (required)
|
|
@@ -3188,9 +3296,9 @@ class AcquisitionsApi(object):
|
|
|
3188
3296
|
|
|
3189
3297
|
|
|
3190
3298
|
def get_acquisition_note_with_http_info(self, cid, note_id, **kwargs): # noqa: E501
|
|
3191
|
-
"""Get a note
|
|
3299
|
+
"""Get a note of a(n) acquisition.
|
|
3192
3300
|
|
|
3193
|
-
Get a note
|
|
3301
|
+
Get a note of a(n) acquisition
|
|
3194
3302
|
This method makes a synchronous HTTP request by default.
|
|
3195
3303
|
|
|
3196
3304
|
:param str cid: (required)
|
|
@@ -4109,9 +4217,9 @@ class AcquisitionsApi(object):
|
|
|
4109
4217
|
collection_formats=collection_formats)
|
|
4110
4218
|
|
|
4111
4219
|
def modify_acquisition_info(self, cid, body, **kwargs): # noqa: E501
|
|
4112
|
-
"""Update or replace info for a acquisition.
|
|
4220
|
+
"""Update or replace info for a(n) acquisition.
|
|
4113
4221
|
|
|
4114
|
-
Update or replace info for a acquisition.
|
|
4222
|
+
Update or replace info for a(n) acquisition.
|
|
4115
4223
|
This method makes a synchronous HTTP request by default.
|
|
4116
4224
|
|
|
4117
4225
|
:param str cid: (required)
|
|
@@ -4136,9 +4244,9 @@ class AcquisitionsApi(object):
|
|
|
4136
4244
|
|
|
4137
4245
|
|
|
4138
4246
|
def modify_acquisition_info_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
4139
|
-
"""Update or replace info for a acquisition.
|
|
4247
|
+
"""Update or replace info for a(n) acquisition.
|
|
4140
4248
|
|
|
4141
|
-
Update or replace info for a acquisition.
|
|
4249
|
+
Update or replace info for a(n) acquisition.
|
|
4142
4250
|
This method makes a synchronous HTTP request by default.
|
|
4143
4251
|
|
|
4144
4252
|
:param str cid: (required)
|
|
@@ -4224,9 +4332,9 @@ class AcquisitionsApi(object):
|
|
|
4224
4332
|
collection_formats=collection_formats)
|
|
4225
4333
|
|
|
4226
4334
|
def modify_acquisition_note(self, cid, note_id, body, **kwargs): # noqa: E501
|
|
4227
|
-
"""Update a note
|
|
4335
|
+
"""Update a note of a(n) acquisition.
|
|
4228
4336
|
|
|
4229
|
-
Update a note
|
|
4337
|
+
Update a note of a(n) acquisition
|
|
4230
4338
|
This method makes a synchronous HTTP request by default.
|
|
4231
4339
|
|
|
4232
4340
|
:param str cid: (required)
|
|
@@ -4252,9 +4360,9 @@ class AcquisitionsApi(object):
|
|
|
4252
4360
|
|
|
4253
4361
|
|
|
4254
4362
|
def modify_acquisition_note_with_http_info(self, cid, note_id, body, **kwargs): # noqa: E501
|
|
4255
|
-
"""Update a note
|
|
4363
|
+
"""Update a note of a(n) acquisition.
|
|
4256
4364
|
|
|
4257
|
-
Update a note
|
|
4365
|
+
Update a note of a(n) acquisition
|
|
4258
4366
|
This method makes a synchronous HTTP request by default.
|
|
4259
4367
|
|
|
4260
4368
|
:param str cid: (required)
|
|
@@ -4470,8 +4578,9 @@ class AcquisitionsApi(object):
|
|
|
4470
4578
|
collection_formats=collection_formats)
|
|
4471
4579
|
|
|
4472
4580
|
def upload_file_to_acquisition(self, container_id, file, **kwargs): # noqa: E501
|
|
4473
|
-
"""Upload a file to acquisition.
|
|
4581
|
+
"""Upload a file to a(n) acquisition.
|
|
4474
4582
|
|
|
4583
|
+
Upload a file to a(n) acquisition.
|
|
4475
4584
|
This method makes a synchronous HTTP request by default.
|
|
4476
4585
|
|
|
4477
4586
|
:param str container_id: (required)
|
|
@@ -4504,8 +4613,9 @@ class AcquisitionsApi(object):
|
|
|
4504
4613
|
|
|
4505
4614
|
|
|
4506
4615
|
def upload_file_to_acquisition_with_http_info(self, container_id, file, **kwargs): # noqa: E501
|
|
4507
|
-
"""Upload a file to acquisition.
|
|
4616
|
+
"""Upload a file to a(n) acquisition.
|
|
4508
4617
|
|
|
4618
|
+
Upload a file to a(n) acquisition.
|
|
4509
4619
|
This method makes a synchronous HTTP request by default.
|
|
4510
4620
|
|
|
4511
4621
|
:param str container_id: (required)
|
|
@@ -4609,9 +4719,9 @@ class AcquisitionsApi(object):
|
|
|
4609
4719
|
collection_formats=collection_formats)
|
|
4610
4720
|
|
|
4611
4721
|
def upload_output_to_acquisition_analysis(self, cid, analysis_id, file, **kwargs): # noqa: E501
|
|
4612
|
-
"""Upload an output file to analysis.
|
|
4722
|
+
"""Upload an output file to an analysis.
|
|
4613
4723
|
|
|
4614
|
-
Upload an output file to analysis
|
|
4724
|
+
Upload an output file to an analysis
|
|
4615
4725
|
This method makes a synchronous HTTP request by default.
|
|
4616
4726
|
|
|
4617
4727
|
:param str cid: (required)
|
|
@@ -4642,9 +4752,9 @@ class AcquisitionsApi(object):
|
|
|
4642
4752
|
|
|
4643
4753
|
|
|
4644
4754
|
def upload_output_to_acquisition_analysis_with_http_info(self, cid, analysis_id, file, **kwargs): # noqa: E501
|
|
4645
|
-
"""Upload an output file to analysis.
|
|
4755
|
+
"""Upload an output file to an analysis.
|
|
4646
4756
|
|
|
4647
|
-
Upload an output file to analysis
|
|
4757
|
+
Upload an output file to an analysis
|
|
4648
4758
|
This method makes a synchronous HTTP request by default.
|
|
4649
4759
|
|
|
4650
4760
|
:param str cid: (required)
|