List content types
Returns a paginated list of content types.
Use id (with its range lookups), app_label, or model to narrow the list. Query parameters other than the ones listed below are ignored.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by the exact identifier of a content type.
Filter for identifiers greater than the given value.
Filter for identifiers greater than or equal to the given value.
Filter for identifiers less than the given value.
Filter for identifiers less than or equal to the given value.
Filter by the exact app label (e.g. catalog).
Filter by the exact model name (e.g. product).
A page of content types.
A paginated list of content types.
Total number of content types matching the request.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested page of the content type list does not exist — the page number is beyond the last page or is not a number.
GET /api/v1/remote/1/content_types/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 42,
"app_label": "catalog",
"model": "product"
}
]
}Last updated
Was this helpful?

