StorageBackend

Test storage backend with raw config

Changed on

Test connectivity for the provided storage configuration without persisting it. Returns success=false with a sanitized error message on failure (the HTTP status stays 200).

post/storage-backends/test

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/storage-backends/test
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Request body

namestring required
providerstring required
statusstring

Response

Connectivity test result (success, error)

errorstring
successboolean

Example response

{
  "success": true
}

Changes