API referenceSections

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/fingerprint

Read 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

NameInTypeRequiredDescription
tidpathstringrequired

Request body

required

Content type: application/json

object
  • engine string required
  • host string required
  • port integer optional
Example
{
  "engine": "string",
  "host": "string",
  "port": 0
}

Responses

200 Fingerprint

Content type: application/json

object
  • sha256 string required
Example
{
  "sha256": "string"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required