Create a Container
Create a new container entity with data structure, owners, tags, domains, and custom properties within a storage service using the Collate REST API for object storage.
POST
POST /v1/containers
Create a Container
Create a new container within a storage service.Body Parameters
Name of the container. Must be unique within the parent storage service or parent container.
List of file formats stored in the container, for example
csv, tsv, parquet, avro, json, jsonl, jsonGz, jsonZip.POST /v1/containers
Returns
Returns the created container object with all specified properties and system-generated fields.Response
Create or Update (PUT)
UsePUT /v1/containers instead of POST to perform an upsert. If a container with the same fullyQualifiedName already exists, it will be updated; otherwise, a new container is created. The request body is the same as POST.
Note:
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead. However, for certain fields (such as description, tags, owners, and custom properties), PUT preserves an already-populated value instead of overwriting it with an empty or omitted one — the exact behavior depends on the field and the calling user or bot’s permissions, not a blanket rule. See Entity Update Behavior for the full preserve/merge rules. Use PATCH to intentionally replace an existing value.Bulk Create or Update (PUT)
UsePUT /v1/containers/bulk to create or update multiple containers in a single request. The request body is an array of create request objects.