/api/database

POST /api/database/validate

Changed on

Validate that we can connect to a database given a set of details.

Pass the id of an existing Database to test edited details against it: sensitive values the client left redacted are resolved from the stored Database, and its own engine may be tested even when creating new Databases of that engine is disallowed.

post/api/database/validate

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

Response

Successful response

Changes