climsoft / climsoft-api

API for Climsoft databases
MIT License
2 stars 4 forks source link

API end-point for available named databases #31

Open isedwards opened 2 years ago

isedwards commented 2 years ago

Climsoft App is configured with the APIs that are available to users. For example, in the screenshot below "API Latest" is selected.

image

Climsoft API should contain an end-point that returns the available named databases and their corresponding internal name, e.g. {"test-database": "mariadb_climsoft_db_v4" , "empty-database": "mariadb_climsoft_test_db_v4"}.

Information on available database should be part of the app configuration - possible stored environment variables (or is there a better way?)