Look up an already-stored bag in the storage service
This guide explains how to look up a bag which has been stored in the storage service.
You need to know:
The space and external identifier of the bag
The API URL for your storage service instance
The token URL for your storage service instance
A client ID and secret for the storage service
An upload bucket for the storage service
To look up a bag in the storage service:
Fetch an access token for the OAuth2 credentials grant:
This will return a response like:
Remember the
access_token
.Make a GET request to the /bags API, passing the space and external identiifer in the path:
This will return a JSON storage manifest (if the bag exists), or a 404 error if not.
PreviousIngest a bag into the storage serviceNextLook up the versions of a bag in the storage service
Last updated