DokumentacjaDokumentacjaGeneracje według typu pojazdu

Generacje według typu pojazdu

GET/generations/{model_id}/{type}

x-api-key1 zapytanie

Parametry

model_idścieżkaintegerwymagany
typeścieżkastringwymagany

Vehicle group: cars or motorcycles. The path without this segment (deprecated) returns cars.

Wartości: carsmotorcyclesDomyślnie: cars

pagezapytanieinteger

Page number. Keep other filters unchanged.

Domyślnie: 1Zakres: 1–…

Odpowiedzi

  • 200A list of car generations
  • 400Invalid request parameter or page size. Correct the request before retrying.
  • 401Requested source is not enabled for this key.
  • 403Missing, invalid, expired or inactive API key.
  • 429Request rate limit reached. Respect Retry-After if provided.
  • 500Unexpected server error. Retry safe reads with a bounded budget.

Opisy pól pochodzą ze specyfikacji OpenAPI, po angielsku.