sites
Set Cache Preload
Changed onTurn Cache Preload on or off for a site. Send enabled to say which state you want the site left in; it is required, and a request without it is refused rather than reversing the current state. A request for the state the site is already in changes nothing and records no activity, so it is safe to repeat. The response carries the same status as GET /sites/{id}/cache-preload.
put/sites/{id}/cache-preload
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Request body
Response
Successful Response
Example response
{
"message": "Success",
"data": {
"enabled": true,
"state": "pending",
"urls_preloaded": null,
"urls_found": null,
"searching": null,
"warnings": []
}
}Changes
- info
endpoint added
- info