Composition

Composition API examples

The following examples allow you to get information about Uniform components and compositions through the API.

This section provides examples of how to interact with components defined in a Uniform project.

This example demonstrates how to retrieve all component definitions from a Uniform project.

This example demonstrates how to retrieve the definitions for composition components from a Uniform project.

This section provides examples of how to interact with compositions defined in a Uniform project.

The following example demonstrates how to list all compositions that are in a published state.

The following example demonstrates how to get all compositions that are based on a specific component type and are in a draft state.