Get validation proof
Get validation proof
Allows to obtain the validation test of the last event for a specified subject.
Path Parameters
- id string required
Subject's unique id
Responses
- 200
- 400
- 404
- 500
Subjects Data successfully retrieved
- application/json
- Schema
- Example (from schema)
- Example
Schema
proof object
event_hash stringHash of the event
genesis_governance_version int64Governance version of the genesis event
governance_id stringGovernance identifier
governance_version int64Governance version
name stringName of subject
namespace stringNamespace to which the subject belongs
prev_event_hash stringPrevious event hash
schema_id stringSubject schema json identifier
sn int64Current sequence number of the subject
subject_id stringSubject identifier
subject_public_key stringPublic key of the subject
signatures object[]
Validators' signatures
signer stringSignature of the issuer
timestamp int64Timestamp at which the signature was made
value stringSignature value
{
"proof": {
"event_hash": "string",
"genesis_governance_version": 0,
"governance_id": "string",
"governance_version": 0,
"name": "string",
"namespace": "string",
"prev_event_hash": "string",
"schema_id": "string",
"sn": 0,
"subject_id": "string",
"subject_public_key": "string"
},
"signatures": [
{
"signer": "string",
"timestamp": 0,
"value": "string"
}
]
}
{
"proof": {
"event_hash": "JLic8SLrT7tJxA9B3aLaaKaIEuV7Wouo2ogHCid6O4g8",
"genesis_governance_version": 0,
"governance_id": "",
"governance_version": 0,
"name": "Wine_Producers_Organization",
"namespace": "",
"prev_event_hash": "",
"schema_id": "governance",
"sn": 0,
"subject_id": "JoifaSpfenD2bEPeBLvUTWh30brm4tKcvdW8exQnkGoQ",
"subject_public_key": "E0gaiDcPRVmYLUGbseHmBk2_2H-FAlSgaO6ZMOXhh4Gs"
},
"signatures": [
{
"signer": "EbwR0yYrCYpTzlN5i5GX_MtAbKRw5y2euv3TqiTgwggs",
"timestamp": 1688643031,
"value": "SEF3qN1uKIgNfnK6YlgU7rlCvDCNHhl_tdcRBvQRyGShR8oOOw5tVk8_OUNlyaJV_HsrISeX8jAf4L3diodRZ_Dg"
}
]
}
Bad Request
Not Found
Internal Server Error
Loading...