The API reference is in English.

Internal implementation reference

POST /cache/verification/retry

Retry cache verification. Permissions, parameters, responses and examples.

0.1.0 · source bccff29 · Immutable snapshot · Download OpenAPI specification

Private service protocols are unsupported for external integration. Their schemas describe source declarations; they are not public service endpoints.

Retry cache verification

Retry cache verification through POST /cache/verification/retry. The parameters and declared response shapes below come from this exact source snapshot.

Internal protocol; unsupported for external integration. This page makes no request to a local installation.

Authority

Private service protocol. No public or third-party integration authority.

Inspect the authority source · Authentication guide

Parameters and headers

No explicit path, query or header parameters are declared here. The authority boundary still applies.

Request body

JSON body · required · CacheVerificationRetryRequest

FieldTypePresence
expected_generationstringRequired
targetstringRequired
Complete declared request schema
{
  "additionalProperties": false,
  "properties": {
    "expected_generation": {
      "pattern": "^[0-9a-f]{64}$",
      "title": "Expected Generation",
      "type": "string"
    },
    "target": {
      "enum": [
        "active",
        "previous_good"
      ],
      "title": "Target",
      "type": "string"
    }
  },
  "required": [
    "target",
    "expected_generation"
  ],
  "title": "CacheVerificationRetryRequest",
  "type": "object"
}

Responses

StatusMeaning and declared shape
202

Successful Response

application/json · CacheVerification
{
  "additionalProperties": false,
  "properties": {
    "bytes_total": {
      "anyOf": [
        {
          "maximum": 8589934592,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bytes Total"
    },
    "bytes_verified": {
      "anyOf": [
        {
          "maximum": 8589934592,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bytes Verified"
    },
    "component_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Component Id"
    },
    "generation_id": {
      "pattern": "^[0-9a-f]{64}$",
      "title": "Generation Id",
      "type": "string"
    },
    "last_activity_at": {
      "format": "date-time",
      "title": "Last Activity At",
      "type": "string"
    },
    "phase": {
      "enum": [
        "queued",
        "validating",
        "hashing"
      ],
      "title": "Phase",
      "type": "string"
    },
    "started_at": {
      "format": "date-time",
      "title": "Started At",
      "type": "string"
    },
    "state": {
      "enum": [
        "verifying",
        "timed_out",
        "failed"
      ],
      "title": "State",
      "type": "string"
    },
    "target": {
      "enum": [
        "active",
        "previous_good"
      ],
      "title": "Target",
      "type": "string"
    }
  },
  "required": [
    "state",
    "target",
    "generation_id",
    "phase",
    "started_at",
    "last_activity_at"
  ],
  "title": "CacheVerification",
  "type": "object"
}
409

Refresh current revision and identity. A conflicting command must not be blindly repeated. See source-linked error catalog.

422

Validation Error

application/json · HTTPValidationError
{
  "properties": {
    "detail": {
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      },
      "title": "Detail",
      "type": "array"
    }
  },
  "title": "HTTPValidationError",
  "type": "object"
}

An empty or broad schema preserves the source contract. It is not a promise of an empty response.

Source-linked errors

Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.

1 source error observations
StatusSource detailRecovery
409 ↗Dynamic detail; inspect sourceRefresh current revision and identity. A conflicting command must not be blindly repeated.

Read the recovery guide

Synthetic examples

These examples validate declared JSON shapes and formats. They contain no real installation data and do not prove runtime admission, cross-field validation, authority or successful work.

Request JSON
{
  "expected_generation": "0000000000000000000000000000000000000000000000000000000000000000",
  "target": "active"
}
Response 202 JSON
{
  "generation_id": "0000000000000000000000000000000000000000000000000000000000000000",
  "last_activity_at": "2026-01-01T00:00:00Z",
  "phase": "queued",
  "started_at": "2026-01-01T00:00:00Z",
  "state": "verifying",
  "target": "active"
}
Download this service's complete OpenAPI

All referenced models remain in its components section. Browse control model definitions.