When using your online TFL API, I get the data response but I am not seeing the Response schema results to enable retrieval of response codes for the application. This is essential to enable error responses on the phone and inform the client/user of failures if they occur. I have not found any documentation relating to the same. Are there any facilities on your site to enable error or success status retrieval?
You get to work out what the response is from the data you get back…
Thank you for your prompt reply, much appreciated.
I have tried entering this URL on TFL Unified API:
I get the full data body, but still no response schema.
“error”: “no response from server”
When clicking on [https://api.tfl.gov.uk/swagger/docs/v1 ] I get the json version of the docs with the following response type description
Is the response type in Swagger a general response format for other TFL API calls? which can be saved in a response status data model, and the response code and description are standard?
Yes, there are no response schemas. You get to work it out for yourself.