POST receipts/chain/report-break
POST /api/v1/receipts/chain/report-break
Records a report when the browser verifier detects a receipt-chain integrity break.
This operation needs no authentication.
Request body
application/json object
actual_prevstring requiredLength: at most 256 characterschain_idstring requiredLength: at most 128 charactersexpected_prevstring requiredLength: at most 256 charactersjtistring requiredLength: 8 to 128 charactersreporter_uastringLength: at most 512 charactersseqinteger requiredRange: at least 0
Generated sample
{
"actual_prev": "string",
"chain_id": "string",
"expected_prev": "string",
"jti": "string",
"reporter_ua": "string",
"seq": 0
}Responses
202 The report was accepted for logging.
application/json object
loggedboolean requiredValue:truerefstring requiredLength: 12 to 12 characters
Generated sample
{
"logged": true,
"ref": "string"
}422 The request failed validation.
application/json ReceiptsChainBreakError
errorsobject requiredOther keys: array of string
messagestring required
429 The route throttle limit was exceeded.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string