This API v2 is deprecated and may no longer work, or may even be removed soon.
Please refer to our new API v3 documentation for your automation purposes.

Logging API calls

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

POST 
getAll

All your API logs.


Request parameters
ParameterContextTypeDescription
limitintLimit the amount of returned logs. Defaults to 100, with a maximum of 1000.
Response parameters
ParameterContextTypeDescription
logsarrayAll API logs
categorylogsstringAPI category
titlelogsstringLog title
remoteIPlogsstringRemote IP address of the request
apiKeylogsstringAPI key of the request
timestamplogsintTime 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
                        )

                )

        )

)