Created
October 26, 2016 15:28
-
-
Save PenzK/8731e94cbe71a6942abbebab4068659c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Successeful list response | |
{ | |
"limit": 20, | |
"offset": 0, | |
"total": 40, | |
"result": [ | |
{ | |
"id": 37, | |
"name": "Test" | |
} | |
] | |
} | |
=========================== | |
Successeful response | |
{ | |
"result" : { | |
"id": 37, | |
"name": "Test" | |
} | |
} | |
=========================== | |
Error response | |
{ | |
"code": 2000, | |
"message": "You don't have permission to perform this request", | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment