-
Sub-task
-
Resolution: Done
-
Major
-
None
This endpoint will provide a list of json schemas that describes the required fields for a connection so that the UI can dynamically construct the form.
The endpoint is "connections/schemas" and must return a JSON like the following
[ { "type": "POSTGRES", "schema": { "title": "PostgreSQL connection properties", "description": "PostgreSQL connection properties", "type": "object", "required": [ "hostname", "port", "username", "password" ], "properties": { "hostname": { "type": "string", "title": "The hostname of the database" }, "port": { "type": "integer", "title": "The port of the database" }, "username": { "type": "string", "title": "Username to connect to the database" }, "password": { "type": "string", "title": "Password to connect to the database" } } } } ]