List widget types
Returns a paginated list of widget types.
Filter with name (case-insensitive contains). Order results with sort on pk or name.
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 widget type name. Case-insensitive contains match — ?name=camp matches Campaigns.
A paginated list of widget types.
A paginated list of widget types.
Total number of widget 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.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
GET /api/v1/remote/1/widget_types/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pk": 1,
"name": "hero_banner",
"schema": {
"title": {
"type": "text",
"required": true
},
"image": {
"type": "image",
"required": false
}
}
}
]
}Last updated
Was this helpful?

