GET
/
v3
/
assets
/
vehicles
/
manufacturers
curl --request GET \
  --url https://api.ctrl-hub.com/v3/assets/vehicles/manufacturers \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "type": "manufacturer",
      "id": "5852cf16-8ec8-4aba-809e-f8d828772c4e",
      "attributes": {
        "name": "BMW"
      },
      "links": {
        "self": "https://api.ctrl-hub.com/v3/assets/vehicles/manufacturers/5852cf16-8ec8-4aba-809e-f8d828772c4e"
      }
    }
  ],
  "meta": {
    "counts": {
      "limit": 10
    },
    "page": {
      "limit": 10,
      "offset": {
        "current": 20,
        "next": 30,
        "previous": 10
      }
    }
  },
  "links": {
    "current": "https://api.ctrl-hub.com/v3/assets/vehicles/manufacturers?limit=10&offset=20",
    "next": "https://api.ctrl-hub.com/v3/assets/vehicles/manufacturers?limit=10&offset=30",
    "previous": "https://api.ctrl-hub.com/v3/assets/vehicles/manufacturers?limit=10&offset=10"
  }
}

Sort Support

Resources can be sorted by name, slug, status or created_at

Authorizations

Authorization
string
header
required

To understand how to authenticate, see the auth docs

Query Parameters

limit
integer
default:
10

Limit the number of resources returned by the API

offset
integer
default:
0

Offset for resources returned by the API

sort
string
default:
created_at

A field in the resource to sort results with. Not all attributes are supported, please see the Object Model for sortable fields.

Response

200
application/json
data
object[]
meta
object