Skip to main content
GET
Old-vs-new text for one change

Authorizations

Authorization
string
header
required

API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_... (preferred).

Headers

Idempotency-Key
string | null

Optional. 16 to 255 visible ASCII characters (a UUIDv4 works). Repeating the same request with the same key replays the original 2xx response for 24 hours without charging again. The same key on a different request is rejected. With the account's cacheQueryDerivedData retention setting off, no body is stored and a retry answers 409 idempotency_replay_unavailable, still without a second charge.

Required string length: 16 - 255
Pattern: ^[\x21-\x7e]+$
Example:

"3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f"

Path Parameters

watch_id
string
required

Id of the watch, as returned by POST /watches (id).

change_id
integer
required

Id of the change, as returned by GET /watches/{watch_id}/changes (id).

Required range: 0 <= x <= 9223372036854776000

Response

The change's before/after text (either side may be absent).

data
ChangeDiffResponse · object
required

Old-vs-new text for one change, as whole documents.

beforeText/afterText are each the complete text of one version of the section, not the single chunk that happened to be recorded as that side's representative. Diff them directly.

changeKind: "added" carries afterText with no beforeText: there is nothing to compare a newly published document against, and its full text is the substance of the notification.

meta
ResponseMeta · object
required

The meta block every board-watch route returns beside data.