The default format returned from the Onehub API is JSON.
JSONwill be returned in all responses from the API, including errors. If you are unable to set an Accept: application/json header in your request, you may apply a suffix of .json to ensure JSON is returned.