Skip to main content

Server Responses

All responses are returned in JSON format. Responses from the server have a wrapper: A successful response is returned in the response field :

{
"response": {...}
}

In the case of an error it returns in the error field, example:

{
"error": {
"code": 1,
"message": "Error!"
}
}