Is there a way to list all tables in a workspace or database using a self-hosted baserow instance API? I’m working on a way to generate code from my database schema and would like a way to use my instance’s endpoint to discover all existing tables.
Oof, seems that endpoint only supports jwt, not database tokens, unfortunately.
There is an open MR to allow database token to be used here: Enable token authentication to 'list_database_tables' endpoint (!1844) · Merge requests · Baserow / baserow · GitLab
However this is an external contribution and I can’t promise it will be merged (or when).
1 Like
Great to hear! Currently I’m just hard-coding my tables list, so would be great if I could start using this endpoint with a database token.