Create a data container
Last updated
Last updated
Every object (file/set of files) in LABDRIVE is preserved in a Data Container. Data containers define the policies, functions, permissions and the underlying storage policy for the files they contain, and have many similarities with Amazon S3 buckets or Azure containers, as they can hold files, folders, metadata, etc.
To know more about how you can organize your content, see Organize your content
To see other available options when using containers, see Working with data containers.
It is possible to create a data container using the LABDRIVE Management Interface or using the API:
1. Sign in to the LABDRIVE Management Interface
2. Select Containers
3. Select New Container
The New Container page opens
4. In the Container name, enter a descriptive name for the content you plan to have in your container (like "2022 Cyclotron resonance experiments"). This name allows you and other users to easily locate the container when using the LABDRIVE Management Interface.
You can leave any other field as default and select Create. LABDRIVE will now open the data container details page. If you plan to work with your data container using any of the file transfer methods LABDRIVE supports or with the LABDRIVE API, it is important that you remember the data container identifier, that is shown next to the container name.
API examples here are just illustrative. Check the LABDRIVE API documentation for additional information and all available methods.
1. Sign in to the LABDRIVE Management Interface
2. Obtain your LABDRIVE API key by selecting your name and then Access Methods:
3. Use this method:
Use:
Url: Your LABDRIVE address
Header: Your LABDRIVE API Token (add Bearer prefix)
Name: The name of the container that will be created
Description: A short description (optional)
Container Metadata ID: The ID of the metadata schema to use for the container's metadata
Metadata Schema ID: The ID of the metadata schema to use for the container's files/objects
Workflow ID: The ID of the workflow that you would like to associate with this container
Archival Structure ID: The ID of the archival node to which you would like to add this container
Storage ID: The ID of the storage that this container will use
If you plan to work with your data container using any of the file transfer methods LABDRIVE offers or with the LABDRIVE API, it is important that you remember the data container identifier, that is delivered in the response:
If you need your container metadata schemas remember you can use:
To get your object-level metadata schemas, you can use:
To get your available workflows: