Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#23158 names parameter for contenttype endpoint #200

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions docs/API/content-type/listing-ctd.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ It returns a paginated list of Content Types defined for your account. It can be

Possible request parameters:

| Parameter | Description |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| limit | Number of objects on page, default `20` |
| page | Number of the requested page, 1-based, default `1` |
| order_by | What field should list be ordered by, possible values: `name`, `id`, `createdAt`, `updatedAt`, default `name` |
| order_direction | Order direction, possible values: `asc`, `desc`, default `asc` |
| name | Used for filtering Content Types by name, filtering is case insensitive and returns everything containing parameter value, default empty |
| label | Used for filtering Content Types by label, filtering is case insensitive and returns everything containing parameter value, default empty |
| Parameter | Description |
| --------------- |-------------------------------------------------------------------------------------------------------------------------------------------------------|
| limit | Number of objects on page, default `20` |
| page | Number of the requested page, 1-based, default `1` |
| order_by | What field should list be ordered by, possible values: `name`, `id`, `createdAt`, `updatedAt`, default `name` |
| order_direction | Order direction, possible values: `asc`, `desc`, default `asc` |
| name | Used for filtering Content Types by name, filtering is case insensitive and returns everything containing parameter value, default empty |
| names | Used for filtering Content Types by names, filtering is case insensitive and returns everything what is equal to values from parameter, default empty |
| label | Used for filtering Content Types by label, filtering is case insensitive and returns everything containing parameter value, default empty |

!!! Example

Expand Down
Loading