Get the Event data of indicated Events
Path Parameters
- id string required
Subject's unique id
- sn int64 required
Event sn
- 200
- 400
- 401
- 404
- 500
Subjects Data successfully retrieved
- application/json
- Schema
- Example (from schema)
- Example
Schema
event_content object
Content of a TAPLE event
approved booleanevent_request object
Request that originated the event. It contains basically the proposed change and the votes obtained related to it.
approvals object[]
content object
approval_type stringPossible values: [
Accept
,Reject
]event_request_hash stringexpected_sn int64signer stringtimestamp int64signature stringrequest object
oneOf- MOD1
- MOD2
Create object
governance_id stringnamespace stringpayload object
oneOf- MOD1
- MOD2
Json stringJsonPatch stringschema_id stringState object
payload object
oneOf- MOD1
- MOD2
Json stringJsonPatch stringsubject_id stringsignature object
The format, in addition to the signature, includes additional information, namely the signer's identifier, the signature timestamp and the hash of the signed contents.
content object
Defines the data used to generate the signature, as well as the signer's identifier.
event_content_hash stringsigner stringtimestamp int64signature stringtimestamp int64metadata object
Metadata of a TAPLE Event
governance_id stringgovernance_version int64namespace stringowner stringschema_id stringprevious_hash stringsn int64state_hash stringsubject_id stringsignature object
The format, in addition to the signature, includes additional information, namely the signer's identifier, the signature timestamp and the hash of the signed contents.
content object
Defines the data used to generate the signature, as well as the signer's identifier.
event_content_hash stringsigner stringtimestamp int64signature string
{
"event_content": {
"approved": true,
"event_request": {
"approvals": [
{
"content": {
"approval_type": "Accept",
"event_request_hash": "string",
"expected_sn": 0,
"signer": "string",
"timestamp": 0
},
"signature": "string"
}
],
"request": {
"Create": {
"governance_id": "string",
"namespace": "string",
"payload": {
"Json": "string"
},
"schema_id": "string"
}
},
"signature": {
"content": {
"event_content_hash": "string",
"signer": "string",
"timestamp": 0
},
"signature": "string"
},
"timestamp": 0
},
"metadata": {
"governance_id": "string",
"governance_version": 0,
"namespace": "string",
"owner": "string",
"schema_id": "string"
},
"previous_hash": "string",
"sn": 0,
"state_hash": "string",
"subject_id": "string"
},
"signature": {
"content": {
"event_content_hash": "string",
"signer": "string",
"timestamp": 0
},
"signature": "string"
}
}
{
"event_content": {
"approved": true,
"event_request": {
"approvals": [],
"request": {
"State": {
"payload": {
"Json": "{\"localizacion\":\"Argentina\",\"temperatura\":-3}"
},
"subject_id": "JKZgYhPjQdWNWWwkac0wSwqLKoOJsT0QimJmj6zjimWc"
}
},
"signature": {
"content": {
"event_content_hash": "JBmfwxOtP2gXFzyTQX0NzVw8ByiHjxcyBgaBamYoOhcA",
"signer": "EFXv0jBIr6BtoqFMR7G_JBSuozRc2jZnu5VGUH2gy6-w",
"timestamp": 1671706794
},
"signature": "SEuYCV5T0G4Vpps859QQMzimXw8NcYailkXwh2oKtsVX82iJQzbspKR7nLllcHiKfuWRkzCWbFpQzxPBWdsuZgBA"
},
"timestamp": 1671706794
},
"metadata": {
"governance_id": "J7BgD3dqZ8vO4WEH7-rpWIH-IhMqaSDnuJ3Jb8K6KvL0",
"governance_version": 0,
"namespace": "namespace1",
"owner": "EFXv0jBIr6BtoqFMR7G_JBSuozRc2jZnu5VGUH2gy6-w",
"schema_id": "Prueba"
},
"previous_hash": "JnMRtYtb2DD2cueHe4oAVMJUoqtkexwZa_n6WWFmH8eA",
"sn": 1,
"state_hash": "JMqLbPz7VY1pjuj9-n0qT0UuOGH_TpQVRaVEOHSaE_5Y",
"subject_id": "JKZgYhPjQdWNWWwkac0wSwqLKoOJsT0QimJmj6zjimWc"
},
"signature": {
"content": {
"event_content_hash": "JYkgipgpilkVFVV_hJ0Dxvr2eHmXU6niKTmKSjMVYEZY",
"signer": "ELZ_b-kZzdPykcYuRNC2ZZe_2lCTCUoo60GXfR4cuXMw",
"timestamp": 1671706794
},
"signature": "SEDcHW5nM7HPsQJyHQkAVaV5NkTuwT2fJL_T9r0HmqbgT3Wt7AMTFpjJNunlCSa-dEosItNu5P9k05vAE9064TBg"
}
}
Bad Request
Unauthorized
Not Found
Internal Server Error