PostgREST / postgrest

REST API for any Postgres database
https://postgrest.org
MIT License
23.27k stars 1.02k forks source link

Broken link in OpenAPI description `externalDocs` #3091

Closed salim-b closed 2 months ago

salim-b commented 9 months ago

Environment

Description of issue

The externalDocs.url field contains https://postgrest.org/en/v12.0/api.html which gives 404 Not Found.

I think the correct URL is: https://postgrest.org/en/v12.0/references/api.html

Besides fixing the URL, an additional HTTP server redirect from https://postgrest.org/en/v12.0/api to https://postgrest.org/en/v12.0/references/api would probably make sense.

laurenceisla commented 9 months ago

Thanks for the report.

Besides fixing the URL, an additional HTTP server redirect from https://postgrest.org/en/v12.0/api to https://postgrest.org/en/v12.0/references/api would probably make sense.

Just added the redirect, so it should be working in the meantime. Fixing the URL is still pending.