For the complete documentation index, see llms.txt. This page is also available as Markdown.

List attribute values

Returns a paginated list of attribute values, ordered by order and then value.

Filter by the parent attribute, the value, or the attribute's key. Order with the sort parameter and page through the results with page and limit.

get
/attribute_value/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
attributeintegerOptional

Filter by the identifier of the parent attribute.

valuestringOptional

Filter by exact value.

attribute__keystringOptional

Filter by the key of the parent attribute.

Responses
200

A paginated list of attribute values.

application/json

A page of attribute value results.

countintegerOptional

The total number of attribute values matching the query.

nextstring · nullableOptional

The URL of the next page of results, when available.

previousstring · nullableOptional

The URL of the previous page of results, when available.

get/attribute_value/
GET /api/remote/1/attribute_value/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 501,
      "attribute": 42,
      "value": "Red",
      "order": 1,
      "label": "Red"
    }
  ]
}

Last updated

Was this helpful?