All the API access is over HTTPS. The response format for all requests is a JSON object. Whether a request succeeded is indicated by the HTTP status code. A 2xx status code indicates success, otherwise failure. When a request fails, the response body is still JSON.
Authentication is done via HTTP headers, more information in the Authorization section.
The calls in this gist all authenticate doing a call to getApiData(), which retrieves a token from
POST /auth, and the list of api endpoints from