BSV blockchainBSV blockchain

Check the health of a specific URL

POST/admin/health-check

Body application/json

urlstring<uri>required

Response

Health check result.

statusstring
messagestring

Bad request — validation error or missing required field.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

No authentication credentials provided.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

Credentials provided but insufficient.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

Request
curl -X POST "https://{fqdn}/admin/health-check" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -H "Authorization: Bearer <token>" \
  -d '{
  "url": "string"
}'
Response
{
  "status": "string",
  "message": "string"
}