List Content
Fetch a paginated list of content with filtering, sorting, and search.Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
typeId | ID | - | Filter by content type |
tags | [String!] | - | Filter by tags (AND logic) |
locale | String | - | Filter by locale |
search | String | - | Search in name and description |
filter | ContentFilter | - | Advanced field filtering |
sort | [SortCriteria!] | - | Sort criteria |
page | Int | 1 | Page number |
limit | Int | 20 | Items per page |
Filter Example
Get Single Content
Fetch a specific content item by ID.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | ID! | Yes | Content ID |
Get Content with Resolved Package
Include all package data needed to render the content.Get Content with Caching References
For optimal caching, fetch only package IDs and resolve separately.Content Fields
| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier |
name | String! | Content name |
description | String | Content description |
compiled | String | Compiled content data |
tags | [String!] | Associated tags |
locale | String | Content locale |
contentType | ContentType! | Associated content type |
resolved | ResolvedPackage | Full package data |
resolvedRef | ResolvedPackageRef | Package IDs for caching |
createdAt | DateTime! | Creation timestamp |
updatedAt | DateTime! | Last update timestamp |
