hydra

Inspect an invite without acting on it. (admin access required)

Changed on

Decodes an invite code and reports whether its signature matches the wallet it claims to be from. Nothing is provisioned and no counterparty is contacted, so this is safe to call on an invite of unknown provenance. A false signatureValid is reported rather than thrown, because an operator looking at a forged invite is better served by being told so.

post/hydra/invite/preview

Request

  • Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
  • URL: ./../api/v1/hydra/invite/preview
  • Auth: API key in header token

Request body

codestring required

An invite code received from a counterparty

Example request

{}

Response

Invite contents

status'success' required

Example response

{
  "status": "success",
  "data": {}
}

Changes