Get Versions

Returns distinct versions for a model filtered by category and optionally body_style and a year range.

When a year filter is supplied, we read from mv_car_filters (10-dim rollup that has the year column) so the version list reflects exactly the years the user has selected. Without a year filter, we keep the original mv_car_metadata path (smaller, faster) for parity with the old behavior.

get/api/versions

Request

  • Base URL: https://pegarex.com.br (the document declares no server; this is the origin it was published from)
  • URL: https://pegarex.com.br/api/versions
  • Auth: none declared

Query parameters

brandstring
modelstring
model_idinteger
categorystring
body_stylestring nullable
year_mininteger nullable
year_maxinteger nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.