Re-check site ads.txt
Queues a fetch of the publisher's live ads.txt (app-ads.txt for an app) and a comparison against the lines it needs; read the result with GET /rest-api/sites/{siteId}/ads-txt, whose check.checkedAt reaches the returned requestedAt (server time, whole seconds) once it has run.
https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/ads-txt/check.do Queues a fetch of the publisher's live ads.txt (app-ads.txt for an app) and a comparison against the lines it needs; read the result with GET /rest-api/sites/{siteId}/ads-txt, whose check.checkedAt reaches the returned requestedAt (server time, whole seconds) once it has run. Returns {"queued":false} when the site was checked or queued within the last minute, or the queue is full. Requires ENABLED level on the SITE_SUPPLY_CHAIN permission and VIEW permission on the site; a masked share is refused.
Path Params
siteId integer required
Unique numeric ID of the site
5001 Responses
200
Request accepted; queued says whether a check was added
400
Bad request — invalid or missing parameters
401
Authentication error
403
No SITE_SUPPLY_CHAIN permission, or the site is outside the caller's shares or masked
404
Site not found