List Content Types
Fetch a paginated list of content types with optional search.Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
search | String | - | Filter by name |
page | Int | 1 | Page number |
limit | Int | 20 | Items per page |
Example
Get Single Content Type
Fetch a specific content type by ID.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | ID! | Yes | Content type ID |
Example
Content Type Fields
| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier |
name | String! | Content type name |
description | String | Description |
packageVersion | String | Bound package version |
schema | String | JSON Schema defining content structure |
createdAt | DateTime! | Creation timestamp |
updatedAt | DateTime! | Last update timestamp |
Schema Structure
Theschema field contains a JSON Schema that defines the content structure:
