Get all models of a brand
GET/v1/vehicles/brands/:brandId/models
Get all the models of a brand
Request
Path Parameters
brandId integerrequired
ID of the brand
Query Parameters
paginate integer
Possible values: [1
, 0
]
Paginate the results
Responses
- 200
- 400
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
id integer
ID of the model
name string
Name of the model
{
"data": [
{
"id": 0,
"name": "string"
}
]
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "400 Bad Request (Client Error)"
}
Not found.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "404 Not Found (Client Error)"
}
Loading...