List generations
GET
/api/v1/catalog/generationsModel generations with production years. Use the name if a static entry has no ID.
Required scope listings:read
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
scope | query | "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" | No | Supply either scope or listingTypeValue. "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" |
listingTypeValue | query | string | No | Supply either listingTypeValue or scope. min. characters 1 · max. characters 100 |
modelId | query | string | Yes | min. characters 1 · max. characters 300 |
Responses
200 Model generations with production years. Use the name if a static entry has no ID.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
scope | "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" | No | "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" |
manifestVersion | string | No | — |
modelId | string | No | — |
items | object[] | No | — |
JSON Schema
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"passenger",
"delivery",
"truck",
"motorcycle",
"camper",
"trailer",
"agriculture",
"construction"
]
},
"manifestVersion": {
"type": "string"
},
"modelId": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"modelId",
"name",
"slug",
"yearFrom",
"yearTo"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"modelId": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"yearFrom": {
"type": [
"integer",
"null"
]
},
"yearTo": {
"type": [
"integer",
"null"
]
}
}
}
}
}
}Other API errors Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}401 A valid API key is required.403 The scope is missing or the production request does not use HTTPS.429 Rate limit exceeded. Check Retry-After.503 Access is closed or the service is temporarily unavailable. Check code.