Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 533 Bytes

APIs - Client Side Implementation.md

File metadata and controls

7 lines (4 loc) · 533 Bytes

APIs: Client Side Implementation Notes

(c) AMWA 2018, CC Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)

Failure Modes

If a client receives a HTTP 500 response code from the API, a failure has occurred. The client should display the content of the response's error field to the user if possible, and indicate that the Device may be in a bad state. The client should also refresh the values in the map/active and map/activations endpoints to ensure it is accurately reflecting the current state of the API.