This page describes all the API calls you can create for the API logs.
You will always receive the output as described in the documentation below unless an error ocurred. For more information, see the error handling section.
Actions
Parameter | Context | Type | Description |
---|---|---|---|
limit | int | Limit the amount of returned logs. Defaults to 100, with a maximum of 1000. |
Parameter | Context | Type | Description |
---|---|---|---|
logs | array | All API logs | category | logs | string | API category | title | logs | string | Log title | remoteIP | logs | string | Remote IP address of the request | apiKey | logs | string | API key of the request | timestamp | logs | int | Time of the request |
Example
Array ( [status] => Success [msg] => OK [data] => stdClass Object ( [logs] => Array ( [0] => Array ( [category] => dedicated server [title] => Get all dedicated servers details [remoteIP] => 203.0.113.2 [apiKey] => _API-KEY_ [timestamp] => 1415013948 ) [1] => Array ( [category] => dedicated server [title] => Get all dedicated servers details [remoteIP] => 203.0.113.2 [apiKey] => _API-KEY_ [timestamp] => 1415012844 ) ) ) )