Containers manage the permissions/access of a group of objects that are being stored. Before being able to store an object, you need to create a container.
Libraries
Creating a container
Before being able to create a container, you will need to
Before continuing, you will need to get the owner ID from the wallet private key. The owner ID is not the same as the wallet ID or public key. A straight forward way to do this is
Creating a container
Now we can get on with creating a container.
You will need
A container placement policy ( placementPolicy )
A set of Basic ACL permissions ( permissions )
Finally we can put the container on NeoFS. We will receive a response that contains the container's ID.
Listing Containers
You can list all the containers owned by a wallet. This will return an array of container IDs
Retrieve a Container
You can retrieve a container once you have the ID
From a container, you can find out storage policies, owners and any other meta information about the container itself
Deleting Containers
Once you have created a container, you will receive the ID of the container as part of the response (see above). Using this ID you can now delete the container with ease
Questions about containers
if you delete a container what happens to all the objects within a container
using multisig wallets, could two or more people share ownership of a container - no.
status - what information do I receive from a status - error on failure.