KeelsonDocs
    Judge Mode

    API reference Evidence

    Disclose one evidence item

    GET/v1/evidence/{root}/items/{index}

    One item with its content hash, salt and inclusion proof, for an arbiter. Every disclosure is recorded with its reason. An .original item stays age ciphertext unless decrypt=1 is sent with the evidence:decrypt scope.

    Path parameters

    rootstringRequired
    indexintegernullRequired

    Query parameters

    reasonstringRequired
    Why the item is opened, such as the dispute it serves.
    decrypt1

    Responses

    • 200The item and its disclosure
    • 403Decrypting needs the evidence:decrypt scope
    • 404No such bundle or item
    • 422The item is not an .original, or it does not open with the evidence identity
    • 503The evidence identity is not configured

    200 response

    disclosureobjectRequired
    bytesstringRequired