Metadata Management Tool for Data Storage Spaces
Maggot annotates datasets by creating a metadata file. It allows users to easily add descriptive metadata to datasets produced within a collective of people (research unit, platform, multi-partner project, etc.). This approach fits perfectly into a data management plan as it addresses the issues of data organization and documentation, data storage and frictionless metadata sharing within this same collective and beyond.
In order to run a job you need to be identified or register a new account.
The following curl command will create a job (note: job[webapp] is required, all other parameters are optional):
curl -H 'Authorization: Token token=<your private_token>' \
-X POST https://allgo18.inria.fr/api/v1/jobs \
-F 'job[webapp]=maggot' \
-F 'job[version]=latest' \
-F 'job[param]=' \
-F 'job[queue]=standard' \
-F 'files[0]=@test.txt' \
-F 'files[1]=@test2.csv'
Monitor its progress:
curl -H 'Authorization: Token token=<your private_token>' \
https://allgo18.inria.fr/api/v1/jobs/JOB_ID/events
Get the result:
curl -H 'Authorization: Token token=<your private_token>' \
https://allgo18.inria.fr/api/v1/jobs/JOB_ID
Abort the job:
curl -H 'Authorization: Token token=<your private_token>' \
-X POST https://allgo18.inria.fr/api/v1/jobs/JOB_ID/abort
Delete the job:
curl -H 'Authorization: Token token=<your private_token>' \
-X DELETE https://allgo18.inria.fr/api/v1/jobs/JOB_ID