Documentation Index
Fetch the complete documentation index at: https://docs.royaltyport.com/llms.txt
Use this file to discover all available pages before exploring further.
list()
Returns a paginated list of compositions for a project.Signature
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The project ID |
options.page | number | No | 1 | Page number |
options.perPage | number | No | 20 | Items per page (max: 100) |
options.includeProducts | boolean | No | false | Include product (release) data for each composition |
Example
get()
Returns a single composition by ID.Signature
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The project ID |
compositionId | number | Yes | — | The composition ID |
options.includeProducts | boolean | No | false | Include product (release) data |
Example
The
products array only appears when includeProducts is set to true.