Read the SHA-256 of the certificate a database server presents, to pin it; no credential is sent
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/db-servers/fingerprintRead the SHA-256 of the certificate a database server presents, to pin it; no credential is sent (ADR 0182)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Request body
required
Content type: application/json
object
enginestring requiredhoststring requiredportinteger optional
Example
{
"engine": "string",
"host": "string",
"port": 0
}Responses
200 Fingerprint
Content type: application/json
object
sha256string required
Example
{
"sha256": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required