Pobierz modele
GET
/api/v1/catalog/modelsModele wybranej marki.
Wymagany zakres listings:read
Parametry
| Nazwa | Miejsce | Typ | Wymagany | Opis |
|---|---|---|---|---|
scope | query | "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" | Nie | Podaj scope albo listingTypeValue. "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" |
listingTypeValue | query | string | Nie | Podaj listingTypeValue albo scope. min. znaków 1 · maks. znaków 100 |
makeId | query | string | Tak | min. znaków 1 · maks. znaków 300 |
Odpowiedzi
200 Modele wybranej marki.application/jsonSchemat object
| Nazwa | Typ | Wymagany | Opis |
|---|---|---|---|
scope | "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" | Nie | "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction" |
manifestVersion | string | Nie | — |
makeId | string | Nie | — |
items | object[] | Nie | — |
JSON Schema
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"passenger",
"delivery",
"truck",
"motorcycle",
"camper",
"trailer",
"agriculture",
"construction"
]
},
"manifestVersion": {
"type": "string"
},
"makeId": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"slug",
"custom",
"popular"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"custom": {
"type": "boolean"
},
"popular": {
"type": "boolean"
}
}
}
}
}
}Pozostałe błędy API Błąd przetwarzania żądania.application/jsonSchemat object
| Nazwa | Typ | Wymagany | Opis |
|---|---|---|---|
code | string | Tak | — |
message | string | Tak | — |
requestId | string | Tak | — |
issues | object[] | Nie | — |
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 Brak prawidłowego klucza API.403 Brak zakresu wymaganego przez operację lub żądanie bez HTTPS na produkcji.429 Przekroczono limit zapytań. Sprawdź Retry-After.503 Dostęp jest zamknięty lub usługa jest chwilowo niedostępna. Sprawdź code.