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 relations 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.includeMerged | boolean | No | false | Include merged relation records |
Example
get()
Returns a single relation by ID.Signature
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The project ID |
relationId | number | Yes | — | The relation ID |
options.includeMerged | boolean | No | false | Include merged relation records |
Example
The
merged array only appears when includeMerged is set to true.