Saltar al contenido principal

Notificar el resultado del reemplazo del retransmisor

POST /api/v1/relay-updater/operations/{id}/report

Solo credencial qru dedicada del actualizador; origen canónico, sin cookies, Origin, consulta ni codificación de contenido. Requiere la claimId duradera y la revisión actual de la operación. Los reintentos exactos de resultado son idempotentes. Las operaciones en aplicación caducadas pueden conciliarse como outcome-unknown. installed-reported no es un estado del retransmisor verificado ni prueba de reenvío.

Autenticación​

Las siguientes alternativas de OpenAPI describen la autenticación aceptada. Las modificaciones desde el navegador también requieren la cabecera Origin canónica.

[
{
"relayUpdateCredential": []
}
]

Parámetros​

[
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
}
]

Cuerpo de la solicitud​

{
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"claimId": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740990
},
"outcome": {
"type": "string",
"enum": [
"installed",
"failed"
]
},
"reason": {
"type": "string",
"enum": [
"none",
"local-policy-denied",
"verification-failed",
"replacement-failed",
"rolled-back",
"recovery-required"
]
}
},
"required": [
"claimId",
"expectedRevision",
"outcome",
"reason"
],
"additionalProperties": false
}
}
}
}

Respuestas​

{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Missing/expired/revoked credential",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"403": {
"description": "Insufficient role",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"409": {
"description": "State or idempotency conflict",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"413": {
"description": "Body too large",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "Unsupported media type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "Request budget exhausted; respect Retry-After",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"headers": {
"Retry-After": {
"schema": {
"type": "integer",
"minimum": 1
},
"description": "Seconds until sufficient budget is expected; concurrent traffic may consume replenished capacity."
}
}
},
"500": {
"description": "Internal error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"503": {
"description": "Not configured",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}

Las referencias como #/components/schemas/Asset se resuelven en los esquemas compartidos. Descarga el contrato OpenAPI para generar clientes. Esta página se genera automáticamente; describe la API de desarrollo implementada, no endpoints previstos.