List changes to the catalogue
Returns what changed in the catalogue, newest first: records added, updated, removed and merged, with the fields that moved and their values before and after. Entries are written within about a quarter of an hour of a change. To keep a copy current, store the highest seq you have read and ask again with since set to it and order=asc. A firearm field your plan does not include is listed as changed with withheld: true and no values. Each entry names the quality tasks behind it (tasks), with what the check found and what the research concluded. Entries are kept for 180 days. The same feed is available as RSS at /v1/changes.rss, and /v1/me/changes narrows it to the firearms your account has saved.
- stringHeadererforderlich
Ihr API-Schlüssel.
Authorization: Bearer <key>wird ebenfalls akzeptiert.
- integerstandard
1Page number, from 1 to 10,000
- Bereich
- 1 – 10000
- Beispiel
- integerstandard
20Items per page (max 100)
- Bereich
- 1 – 100
- Beispiel
- string
Entries on or after this ISO date or UTC instant, or after this
seq- Max. Länge
- 40
- Beispiel
- string
Entries on or before this ISO date (the whole day) or UTC instant
- Max. Länge
- 40
- string
Only changes to this kind of record
- Akzeptiert
- string
Only this kind of change
- Akzeptiert
- string
Only changes to this manufacturer's firearms, or to the manufacturer itself
- Max. Länge
- 100
- Beispiel
- stringstandard
descNewest first, or oldest first for reading forward from a
seq- Akzeptiert
- Beispiel
- object[]
One change to the catalogue.
- integer
The entry's position in the feed. Increases with every entry; store the highest you have read and pass it as
sinceto continue from there. - string
What kind of record changed.
catalogis aresyncedentry, which belongs to no one record. - string | null
The record's id, for
GET /v1/{entity}s/{id}. Null on aresyncedentry. - string
created,updated,deleted,merged(folded into the record named bymergedInto), orresynced: too many records changed at once to list, so re-read what you hold. - string
When the change was recorded, ISO 8601 UTC.
- string | null
The record's
versionafter the change. Null for a removal. - string | null
For
merged, the id of the record it was folded into. An old id also answers with that record. - string | null
The record's name when it changed, kept after it is removed.
- object | null
The maker of a firearm, or the manufacturer itself, when it changed.
- string
Manufacturer id.
- string | null
Manufacturer name.
- object[]
For
updated, the fields that moved. Null when the change happened before an earlier version of the record had been kept, so it is known to have changed and no more. - string
The field as the record names it; a nested field is a dotted path.
- unknown
The value before the change. Null when the field was empty.
- unknown
The value after the change. Null when the field was emptied.
- boolean
Present and true when a long value was cut to its start; the record holds the rest.
- boolean
Present and true when your plan does not include this field: it moved, and
beforeandafterare null. - integer | null
For
resynced, how many records the rewrite touched. - object[]
A firearm's current pictures, for showing the entry. Empty for a removed record and for other kinds of record.
- integer
Image id.
- string
Where to fetch it.
- string
What kind of picture it is.
- string | null
Alternative text.
- integer | null
Width in pixels.
- integer | null
Height in pixels.
- object[]
The quality tasks behind the change, at most three, newest first: the task on the same record and field whose fix or accepted answer closed it, up to two days after or sixty days before the change. Empty when none is linked.
- integer | null
The task's number, for
GET /v1/data/tasks/{id}. - string
The task's key.
- string
What kind of task it is.
- string | null
The quality check that raised it.
- string
The check's name, readable.
- string | null
What the check found on this record, in one sentence.
- string
fixedwhere the record was corrected so the check no longer finds it; otherwise how an accepted answer ended. - string | null
When the task closed.
- object | null
What the research found: the value a source states and the page, or why the value was removed. Null when nothing was recorded, or when the task is withheld.
- boolean
Present and true when every field the task concerns is above your plan:
findingis null andwhyis the check's rule. - string
The task's public page.
- number
Current page number
- number
Items per page
- number
Total matching records (Builder and above)
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Mindeststufe
- Explorer+
- Monatskontingent
- 200/mo
- Anfragerate
- 10/min
- Tageslimit
- 50
Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.
Dieser Aufruf beantwortet bedingte Anfragen. Speichern Sie das ETag einer Antwort und senden Sie es als If-None-Match zurueck: ein unveraenderter Datensatz liefert 304 Not Modified ohne Body. Das zaehlt auf Ihr Minutenlimit, aber nicht auf Ihr Tageskontingent.