sites
Web Server Logs
Get a list of a site's web server logs. These logs can help assist in debugging issues related to the server of your site. The logs are available for the past 7 days, we respond with 200 log messages per page.
get/sites/{id}/logs/server
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
Query parameters
scroll_idstring
statusinteger
request_typestring
user_ipstring
Response
Successful Response
Example response
{
"logs": [
{
"body_bytes_sent": 32,
"cached": "false",
"date": "2023-02-03T19:21:53.162Z",
"http2": "",
"http_host": "fatwombat.online",
"http_referer": "https://fatwombat.online/wp-json/jetpack/v4/sync/spawn-sync?time=1675452113&request_lock_id=1675452113.1056",
"http_user_agent": "WordPress/6.1.1; https://fatwombat.online",
"http_version": "HTTP/1.1",
"http_x_forwarded_for": "103.115.8.95",
"renderer": "php",
"request_completion": "OK",
"request_time": 0.036,
"request_type": "GET",
"request_url": "/wp-json/jetpack/v4/sync/spawn-sync?time=1675452113&request_lock_id=1675452113.1056",
"scheme": "http",
"status": 200,
"timestamp": 1675452113,
"type": "nginx_json",
"user_ip": "103.115.8.95"
},
{
"body_bytes_sent": 198,
"cached": "false",
"date": "2023-02-03T17:49:49.405Z",
"http2": "",
"http_host": "fatwombat.online",
"http_referer": "",
"http_user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36",
"http_version": "HTTP/1.1",
"http_x_forwarded_for": "89.104.101.102",
"renderer": "static",
"request_completion": "OK",
"request_time": 0,
"request_type": "GET",
"request_url": "/favicon.ico",
"scheme": "http",
"status": 200,
"timestamp": 1675446589,
"type": "nginx_json",
"user_ip": "89.104.101.102"
}
],
"scroll_id": "FGluY2x1ZGVfY29udGV4dF91dWlkDnF1ZXJ5VGhlbkZldGNogAgWdGdWQWZTeHBUaGFJTG1fR0E0LVp2dwAAAAABPOLVFnZ6SFlEODV0UUt1bklUWGs0STdjbVEWeVNlaU56eDdRek9WRmhGQjJHZEk2dwAAAAAEdcDJFkhiWDJMaHc0UWdXbXNRME9uQUZLaHcWSUlDQnhTOGtScmlrMFR1OFM3azlFdwAAAAAEV8-iFnRMcHN2OGdMUmR1M0NROWxQeFp6ZGcWTVItdXJuSW1UVXFKZkhLWktIVDdDdwAAAAAEJkfNFn="
}Changes
No recorded changes to this operation across all 2 revisions of this API.