Request/response format
Requests to the API should be made as an HTTPS GET to a URL in the following format:
https://www.triposo.com/api/20181213/endpoint.json?parameters
The response in the case of success will be JSON in the following format:
{ "results": [an array of objects according to the return type of the endpoint], "estimated_total": the estimated number of total objects, "more": true if there are more objects that could be retrieved using a higher offset or a larger count }
In case of an error, an appropriate HTTP error code will be set and the body of the response will be JSON in the following format:
{ "code": an error code, "error": a string explaining the error }
Authentication information can either be supplied as account
and token
parameters, containing your account ID and a valid token respectively, or using the X-Triposo-Account
and X-Triposo-Token
HTTP headers.