Skip to content

Recent specification and equipment changes

GET
/v1/catalog/value-changes
curl --request GET \
--url 'https://api.avtopodatki.si/v1/catalog/value-changes?offset=0&with_total=true' \
--header 'Authorization: Bearer <token>'

Specification and equipment changes across the catalogue, newest first — the counterpart of GET /v1/catalog/changes, which covers prices.

The catalogue is updated monthly, and a variant’s first reading is not a change, so an empty result is normal early on.

Requires the catalog.changes permission.

section
Section

Only field, specs or equipment changes.

Any of:
CatalogChangeSection

Where a non-price value changed: field, specs or equipment.

string
Allowed values: field specs equipment

Only field, specs or equipment changes.

key
Key

Only this field, specification label or equipment item, e.g. power_kw. Exact, case-sensitive.

Any of:
string
<= 300 characters

Only this field, specification label or equipment item, e.g. power_kw. Exact, case-sensitive.

since
Since

Changes at or after this time (ISO-8601). Default: 90 days ago.

Any of:
string format: date-time

Changes at or after this time (ISO-8601). Default: 90 days ago.

brand_id
Brand Id

Repeat to match several.

Any of:
Array<integer>

Repeat to match several.

limit
Limit

Results per page.

Any of:
integer
>= 1

Results per page.

offset
Offset

Results to skip.

integer
0

Results to skip.

with_total
With Total

Include the total count. Set false for faster responses.

boolean
default: true

Include the total count. Set false for faster responses.

Successful Response

Media typeapplication/json
Page[VariantChangeWithContext]
object
items
required
Items
Array<object>
VariantChangeWithContext

A change with its brand, model and variant.

object
id
required
Id
integer
variant_id
required
Variant Id
integer
section
required
CatalogChangeSection

field (a column such as power_kw), specs (one specification entry) or equipment (one equipment item added or removed).

string
Allowed values: field specs equipment
group
Group

Specification group or equipment category. Null for field.

Any of:
string
key
required
Key

Field name, specification label, or equipment item.

string
old_value
Old Value

The value before. For equipment, true when the item was there; null when it was added.

new_value
New Value

The value after. For equipment, true when added; null when removed.

recorded_at
required
Recorded At
string format: date-time
variant_name
Variant Name
Any of:
string
model_name
Model Name
Any of:
string
brand_name
Brand Name
Any of:
string
total
Total

Total number of results, or null when with_total=false.

Any of:
integer
limit
required
Limit
integer
offset
required
Offset
integer

Example

{
"items": [
{
"section": "field"
}
]
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}