Get Years

Returns distinct years available for the given brand/model/version slice.

Reads from mv_car_filters, the 10-dim pre-aggregated rollup that carries the year dimension. Used by the frontend to populate the Year dropdown only with years that actually have listings for the current selection.

get/api/years

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/years
  • Auth: none declared

Query parameters

brandstring
brand_idinteger
modelstring
model_idinteger
version_idinteger
categorystring
body_stylestring nullable

Response

Successful Response

unknown required

Changes

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