OlegKlimenko / Plamber-Android

The Android application for Plamber project.
https://plamber.com.ua/
Apache License 2.0
1 stars 0 forks source link

Refactor API #63

Closed OlegKlimenko closed 6 years ago

OlegKlimenko commented 6 years ago

I've removed the status from the body of requests, and added them to the object status (means HTTP header) because there is no need to duplicate status in the body and at the header. So, for now, all responses body will be like in the example:

{'detail': 'success',
 'data': {}}

Please do changes where needed at App endpoint(s) and test if all is working properly. p.s. I've tested it from web-side testing tool but it would be great to test it from App also