# Collections

A collection is a flexible grouping mechanism for organizing assets. Collections support hierarchical structures through parent-child relationships and follow a lifecycle model with draft, active, inactive, and removed states.

## List collections

 - [GET /v1/collections](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections/get.md): Retrieves a paginated list of collections, with optional filtering and sorting.

## Create a collection

 - [POST /v1/collections](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections/post.md): Creates a new collection. The collection is created in draft status.

## Get a collection

 - [GET /v1/collections/{collectionUuid}](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections~1%7Bcollectionuuid%7D/get.md): Retrieves a single collection by its unique identifier.

## Update a collection

 - [PATCH /v1/collections/{collectionUuid}](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections~1%7Bcollectionuuid%7D/patch.md): Updates an existing collection. Only provided fields are modified; omitted fields remain unchanged.

## Delete a collection

 - [DELETE /v1/collections/{collectionUuid}](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections~1%7Bcollectionuuid%7D/delete.md): Permanently deletes a collection.

## Bulk create collections

 - [POST /v1/collections/bulk](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections~1bulk/post.md): Creates multiple collections in a single operation. All collections are created in draft status.

## Bulk update collections

 - [PATCH /v1/collections/bulk](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections~1bulk/patch.md): Updates multiple collections in a single operation. Only provided fields are modified for each collection.

## Transition collection lifecycle

 - [PATCH /v1/collections/{collectionUuid}/actions/lifecycle](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections~1%7Bcollectionuuid%7D~1actions~1lifecycle/patch.md): Transitions a collection to a different lifecycle state. Valid transitions depend on the current status.

## Bulk transition collection lifecycle

 - [PATCH /v1/collections/bulk/actions/lifecycle](https://docs.apiera.io/openapi/collections/paths/~1v1~1collections~1bulk~1actions~1lifecycle/patch.md): Transitions multiple collections to a different lifecycle state in a single operation.

