What changed between reads
clickd_changesSays what a site's latest read changed against the one before: score, rules fixed and newly failing, pages added and removed.
When: after clickd_rescan, every minute or two with its job until the read is done.
Instead: clickd_rescan to ask for the read; clickd_site for the report as it now stands.
Inputs: site is a domain, like example.com. job is the id clickd_rescan returned: the reply then says where that read stands, with changes only once it is done.
Returns: host, run, changes (null for a first read) and visits; with job, job ({ id, state, ahead }), changes null until done.
Fails: a site never read, or a job for another site, answers not found; a failed read says so in job. Needs a key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | The job id that clickd_rescan returned. | |
| site | Yes | The site, as a domain such as example.com. |