Skip to content

Endpoints

Change feed

What was added, updated or removed, in order, so a copy of the catalogue can stay current without reading it all again.

View as Markdown ↗

Read the feed

GET/v1/changes

Oldest first. Each entry names a resource and what happened to it.

Request
curl "https://autospec.launchit.ro/v1/changes?since=2026-09-26T00:00:00Z" \
  -H "X-API-Key: as_live_your_key"
Response
{
  "items": [
    {
      "id": 211904,
      "at": "2026-09-26T20:43:13.891004",
      "action": "updated",
      "resource": "version",
      "resource_id": 1375,
      "label": "1.5 eTSI (116 Hp) Mild Hybrid DSG",
      "fields": ["power_kw", "torque_nm"]
    },
    {
      "id": 211905,
      "at": "2026-09-26T20:44:02.118530",
      "action": "removed",
      "resource": "version",
      "resource_id": 1402,
      "label": null,
      "fields": []
    }
  ],
  "next_cursor": "WyJpZCIsMjExOTA1LDIxMTkwNV0",
  "limit": 50
}

Parameters

Parameter Required Description
since Optional Only changes at or after this instant, for example 2026-09-26T00:00:00Z.
cursor Optional Continue from a previous page.
limit Optional Entries per page: 50 by default, 200 at most.

Fields

Field Type Description
id integer Increasing. Entries are returned in this order.
at instant When the change was made.
action string added, updated or removed.
resource string make, model, generation or version.
resource_id integer The record's id. Fetch it from its own endpoint to see its current state.
label string or null The record's name. null on removals.
fields list of strings The fields an update changed.

What counts as added and removed

The feed describes what this API serves, so publishing a record is added and unpublishing one is removed, exactly like creating and deleting. A record that is still a draft never appears.

Keeping a copy current

Read the whole catalogue once. Then poll the feed with the last next_cursor you saw: an empty page means nothing changed. For each entry, fetch the record again on added or updated, and drop it on removed. When a page has no next_cursor, keep the cursor you used and ask again later.