Add additional Data Info (e.g. Archived, Shared) for get data
The DMA supports an additionalInfo
option for the get data endpoints - i.e. https://dma.test.embl.de/api/v1/data?additionalInfo=true
, which returns some extra info for each data item.
...
{
"id": 286040,
"path": "https://minio-test.ktest.embl.de/test-bucket-221214-1",
"name": "test-bucket-221214-1",
"owner": "murphy",
"deleted": false,
"comment": "Test Bucket",
"created": "2022-12-14T17:12:00+01:00",
"type": "minio-bucket",
"collectionId": 6547,
"status": {
"datasetId": 286040,
"deleted": false,
"archived": false,
"shared": true,
"hasCopy": false,
"isCopy": false,
"hasExtraction": false,
"isExtraction": false
}
}
...
We should also add this option to the python client.