You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -X 'GET' \
'https://batch.openaddresses.io/api/openapi' \
-H 'accept: */*'
{"openapi":"3.0.3","info":{"title":"OpenAPI Schema","version":"1.0.0"},"paths":{"/schema":{"get":{"summary":"\n List all JSON Schemas in use\n With no parameters this API will return a list of all the endpoints that have a form of schema validation\n If the url/method params are used, the schemas themselves are returned\n\n Note: If url or method params are used, they must be used together\n ",
<etc etc>
"description":"The SemVer of the task processor for this job"},"size":{"type":["null","integer"],"description":"The size of the asset in bytes"}}}}}}}}}}}}}}
Expected behavior
Json response rather than cloudflare response.
Screenshots
Desktop (please complete the following information):
Describe the bug
The url in the swagger docs use the website url
https://batch.openaddresses.io/
rather than the api urlhttps://batch.openaddresses.io/api/
To Reproduce
Steps to reproduce the behavior:
openapi
endpoint exampleExecute
Response Body
On the CLI try:
URL in docs (does not work)
API URL (does work)
Expected behavior
Json response rather than cloudflare response.
Screenshots
Desktop (please complete the following information):
Additional context
Found the api url here: https://github.com/openaddresses/batch/blob/master/api/API.md#javascript-fetch-example
The text was updated successfully, but these errors were encountered: