Skip to content
Sign in Create account

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_prev string required
    Length: at most 256 characters
  • chain_id string required
    Length: at most 128 characters
  • expected_prev string required
    Length: at most 256 characters
  • jti string required
    Length: 8 to 128 characters
  • reporter_ua string
    Length: at most 512 characters
  • seq integer required
    Range: 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

  • logged boolean required
    Value: true
  • ref string required
    Length: 12 to 12 characters

Generated sample

{
  "logged": true,
  "ref": "string"
}
422 The request failed validation.

application/json ReceiptsChainBreakError

  • errors object required

    Other keys: array of string

  • message string required
429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string