/api/testing

POST /api/testing/content-diagnostics/scan

Changed on

Run a content diagnostics scan synchronously and return its topline. Findings only reach the UI through a scan, and the production trigger is a nightly job, so E2E tests need a way to run one on demand. Intended only for E2E tests.

post/api/testing/content-diagnostics/scan

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Response

Successful response

duration_msinteger required
finding_countinteger required
scan_idstring required

Changes