Show API Log
This process returns the log details that are available for the LogRequestId passed in with parameter LogRequestId. To store all details during a previous call, pass the key x-LogLevel with a value of 2 on the initial request, then call this process with the x-RequestID returned to get the details back. Note that RequestId values must be called with the same API Key. A week after the log record is created, extra details are removed and they are removed entirely after a month. Secret Hmac Required. No Caching unless repeated.
POST
/Api/Read/Log
curl \
--request POST 'https://api.wrtm.io/v1.0/Api/Read/Log' \
--header "X-ApiKey: $API_KEY" \
--header "Authorization: X-apidate $ACCESS_TOKEN" \
--header "Authorization: X-apihmac $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"LogRequestId":23}'
Request examples
{
"LogRequestId": 23
}
Response examples (200)
{
"Api_Acl": 2,
"Seconds": 0.0308,
"Response": "{\"1Sec\":{\"Limit\":50,\"Remain\":13,\"ResetDate\":\"Mon, 15 May 2023 14:34:17 GMT\",\"TimeLeft\":\"0 Seconds\"},\"1Hour\":{\"Limit\":500,\"Remain\":174,\"ResetDate\":\"Mon, 15 May 2023 15:18:00 GMT\",\"TimeLeft\":\"43.72 Minutes\"},\"1Mon\":{\"Limit\":100000,\"Remain\":99674,\"ResetDate\":\"Thu, 15 Jun 2023 00:00:00 GMT\",\"TimeLeft\":\"1 Month\"}}",
"Bandwidth": 874,
"Http_Host": "DV1",
"Raw_Request": "",
"Remote_Addr": "127.0.0.1",
"Request_Url": "/v1.0/Api/Read/Limits",
"Server_Addr": "127.0.0.1",
"Server_Name": "localhost",
"Server_Port": 443,
"Api_Function": "api/Read/Limits",
"Request_Time": "Mon, 15 May 2023 14:34:17 GMT",
"Response_Code": 200,
"Request_Method": "POST",
"Request_Scheme": "HTTPS",
"Http_User_Agent": "Mozilla/5.0 (compatible; SVDSBot/1.0; +http://www.strandvision.com/bot.html)",
"Response_Format": "JSON"
}