getStatus of IDS does not accept multiple dataset ids conveniently
The getStatus
method of the IDS server receives as parameters:
- investigationIds
- datasetIds
- datafileIds
And ti returns:
a string with "ONLINE" if all data are online,
"RESTORING" if one or more files are in the process of being restored but none are archived and no restoration has been requested or
"ARCHIVED" if one or more files are archived and and no restoration has been requested.
It makes impossible to determine the status from a list of datasets. For instance, in there are two datasets and one is online and the other is archived then the IDS will reply with ARCHIVED
We need to implement a endpoint that given a list of datasetIds it will return a list of statuses.
Edited by Alejandro De Maria Antolinos