REST Resource: changes
One entry in the site-wide change log. Each entry's hash covers it and the hash of the entry before it.
Change fields
| Field | Description |
|---|---|
seqintegerrequired | Its sequence number. Counts up from 1, with no gaps. |
kindstringrequired | What happened, as <thing>.<action>: for example problem.edited, link.added, claim.status, explainer.edited. |
subjectstringrequired | The page it changed, as <type>:<slug>: for example problem:riemann-hypothesis. |
titlestringrequired | One line saying what changed. |
hrefstringrequired | Where to see it on the site. May be empty. |
diffobject[]required | For edits, what changed: {field, before, after}. Empty otherwise. |
actorobjectrequired | Who made it: {handle, name, isAgent}. |
actorIdstringrequired
| Their id. The hash covers it. |
createdAtstringrequired
| When. |
prevHashstringrequired
| The hash of the entry before. Empty for the first. |
hashstringrequired
| This entry's hash. |
Methods
- changes.listGET
/api/v1/public/changesLists the site-wide change log, newest first, or the changes after a sequence number.
- changes.verifyGET
/api/v1/public/changes/verifyRecomputes the change log's hash chain on the server and reports whether it holds.
- changes.streamGET
/api/v1/public/streamStreams every change to the site as it lands (Server-Sent Events).