Returns VP Document as per MessageID
Last updated
Last updated
Returns VP
Message identifier
"1706823227.586179534"
VP details
Message identifier
"1706823227.586179534"
UUID
"93938a10-d032-4a9b-9425-092e58bffbf7"
const response = await fetch('/api/v1/entities/vp-documents/{messageId}', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"id": "1706823227.586179534",
"uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
"item": {
"id": "667c240639282050117a1985",
"topicId": "0.0.4481265",
"consensusTimestamp": "1706823227.586179534",
"owner": "0.0.1",
"uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
"status": "NEW",
"statusReason": "Revoked",
"lang": "en-US",
"responseType": "str",
"statusMessage": "text",
"files": [
"QmYtKEVfpbDwn7XLHjnjap224ESi3vLiYpkbWoabnxs6cX"
],
"topics": [
"0.0.4481265"
],
"tokens": [
"0.0.4481265"
],
"type": "VP-Document",
"action": "create-vp-document",
"options": {
"issuer": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
"relationships": [
"1706823227.586179534"
]
},
"analytics": {
"schemaIds": [
"1706823227.586179534"
],
"schemaNames": [
"Monitoring Report"
],
"policyId": "1706823227.586179534",
"textSearch": "text"
},
"documents": [
"\"{\"id\":\"urn:uuid:2c374b67-fda5-4023-97c2-c0782624573f\",\"type\":[\"VerifiablePresentation\"],\"@context\":[\"https://www.w3.org/2018/credentials/v1\"],\"verifiableCredential\":[{\"id\":\"urn:uuid:ff0aecbd-d358-4e5b-b99b-7a87ba38a3b2\",\"type\":[\"VerifiableCredential\"],\"issuer\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438\",\"issuanceDate\":\"2024-02-06T05:40:37.795Z\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"ipfs://bafkreib6arvz7hltf2yqoyb7iqlkrojur7lqqcsuuhvcfvyrtkncm6pqhi\"],\"credentialSubject\":[{\"finalMintAmount\":5,\"policyId\":\"65bc691d2ae9d0f1ef2db3bc\",\"ref\":\"urn:uuid:11b1ad6f-8b4f-4d61-a63a-cc9e6532625f\",\"@context\":[\"ipfs://bafkreib6arvz7hltf2yqoyb7iqlkrojur7lqqcsuuhvcfvyrtkncm6pqhi\"],\"id\":\"urn:uuid:5d253a1d-456a-4fb1-8b45-257e1db2e668\",\"type\":\"601a68c4-66c3-407c-bc88-1b5841e6d1da&1.0.0\"}],\"proof\":{\"type\":\"Ed25519Signature2018\",\"created\":\"2024-02-06T05:40:37Z\",\"verificationMethod\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438#did-root-key\",\"proofPurpose\":\"assertionMethod\",\"jws\":\"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..UvTeKVUVUxH1SFNNoyu_VXf4kFqDIFzFPJaaq5adiSHrBePLQMQv7dM_Fq23z7UGHSmXlodBen1Ujcdi-am5DQ\"}},{\"id\":\"urn:uuid:b76fbd72-48b7-45fb-b152-7ec13d11eafb\",\"type\":[\"VerifiableCredential\"],\"issuer\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438\",\"issuanceDate\":\"2024-02-06T05:40:45.066Z\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"ipfs://bafkreigd6nhj5auxobzu4qzlakzcaizh6wux2gq43qft4rwpri7msn2geu\"],\"credentialSubject\":[{\"date\":\"2024-02-06T05:40:45.021Z\",\"tokenId\":\"0.0.1621155\",\"amount\":\"5\",\"@context\":[\"ipfs://bafkreigd6nhj5auxobzu4qzlakzcaizh6wux2gq43qft4rwpri7msn2geu\"],\"type\":\"MintToken\"}],\"proof\":{\"type\":\"Ed25519Signature2018\",\"created\":\"2024-02-06T05:40:45Z\",\"verificationMethod\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438#did-root-key\",\"proofPurpose\":\"assertionMethod\",\"jws\":\"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..5hWYO3NA0Q9zI0oS1lLOpofQI-DTQVM0sd4GUQV-UUSlBug3EgYYBm7247LCzlCRt9VpYsUh7SxIrsgHzsSRDA\"}}],\"proof\":{\"type\":\"Ed25519Signature2018\",\"created\":\"2024-02-06T05:40:45Z\",\"verificationMethod\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438#did-root-key\",\"proofPurpose\":\"authentication\",\"challenge\":\"123\",\"jws\":\"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Mu5BaQ34idnqG6d-aMqufQOXcuWHMkv6N9Z2zhBi9Yfd7jU9FFkwi-Xjyf-Kastr7vVWBNLwGxB-bPRf4UEHAg\"}}\""
]
},
"row": {
"id": "667c240639282050117a1985",
"consensusTimestamp": "1706823227.586179534",
"topicId": "0.0.4481265",
"status": "LOADED",
"lastUpdate": 1716755852055,
"message": "eyJpZCI6ImVhYTYyOWZmLWM4NmItNDEyZS1iYzYwLWM4NDk2OTJkMDBiYiIsInN0YXR1cyI6IklTU1VFIiwidHlwZSI6IlN0YW5kYXJkIFJlZ2lzdHJ5IiwiYWN0aW9uIjoiSW5pdCIsImxhbmciOiJlbi1VUyIsImRpZCI6ImRpZDpoZWRlcmE6dGVzdG5ldDpBYkd6Q3hpRzRlZ0xibldCUERpaHdMUVIza0tLcnNGNmJnSDdUdmVGYjI3bl8wLjAuMjE3NiIsInRvcGljSWQiOiIwLjAuMjE3NiIsImF0dHJpYnV0ZXMiOnsiZ2VvZ3JhcGh5IjoidGVzdCIsImxhdyI6InRlc3R0ZXMiLCJ0YWdzIjoidGVzdCJ9fQ",
"sequenceNumber": 2,
"owner": "0.0.1914",
"chunkId": "1706817694.014944860",
"chunkNumber": 1,
"chunkTotal": 1,
"type": "Message",
"data": "`{\"id\":\"eaa629ff-c86b-412e-bc60-c849692d00bb\",\"status\":\"ISSUE\",\"type\":\"Standard Registry\",\"action\":\"Init\",\"lang\":\"en-US\",\"did\":\"did:hedera:testnet:AbGzCxiG4egLbnWBPDihwLQR3kKKrsF6bgH7TveFb27n_0.0.2176\",\"topicId\":\"0.0.2176\",\"attributes\":{\"geography\":\"test\",\"law\":\"testtes\",\"tags\":\"test\"}}`"
},
"history": [
{
"id": "667c240639282050117a1985",
"topicId": "0.0.4481265",
"consensusTimestamp": "1706823227.586179534",
"owner": "0.0.1",
"uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
"status": "NEW",
"statusReason": "Revoked",
"lang": "en-US",
"responseType": "str",
"statusMessage": "text",
"files": [
"QmYtKEVfpbDwn7XLHjnjap224ESi3vLiYpkbWoabnxs6cX"
],
"topics": [
"0.0.4481265"
],
"tokens": [
"0.0.4481265"
],
"type": "VP-Document",
"action": "create-vp-document",
"options": {
"issuer": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
"relationships": [
"1706823227.586179534"
]
},
"analytics": {
"schemaIds": [
"1706823227.586179534"
],
"schemaNames": [
"Monitoring Report"
],
"policyId": "1706823227.586179534",
"textSearch": "text"
},
"documents": [
"\"{\"id\":\"urn:uuid:2c374b67-fda5-4023-97c2-c0782624573f\",\"type\":[\"VerifiablePresentation\"],\"@context\":[\"https://www.w3.org/2018/credentials/v1\"],\"verifiableCredential\":[{\"id\":\"urn:uuid:ff0aecbd-d358-4e5b-b99b-7a87ba38a3b2\",\"type\":[\"VerifiableCredential\"],\"issuer\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438\",\"issuanceDate\":\"2024-02-06T05:40:37.795Z\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"ipfs://bafkreib6arvz7hltf2yqoyb7iqlkrojur7lqqcsuuhvcfvyrtkncm6pqhi\"],\"credentialSubject\":[{\"finalMintAmount\":5,\"policyId\":\"65bc691d2ae9d0f1ef2db3bc\",\"ref\":\"urn:uuid:11b1ad6f-8b4f-4d61-a63a-cc9e6532625f\",\"@context\":[\"ipfs://bafkreib6arvz7hltf2yqoyb7iqlkrojur7lqqcsuuhvcfvyrtkncm6pqhi\"],\"id\":\"urn:uuid:5d253a1d-456a-4fb1-8b45-257e1db2e668\",\"type\":\"601a68c4-66c3-407c-bc88-1b5841e6d1da&1.0.0\"}],\"proof\":{\"type\":\"Ed25519Signature2018\",\"created\":\"2024-02-06T05:40:37Z\",\"verificationMethod\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438#did-root-key\",\"proofPurpose\":\"assertionMethod\",\"jws\":\"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..UvTeKVUVUxH1SFNNoyu_VXf4kFqDIFzFPJaaq5adiSHrBePLQMQv7dM_Fq23z7UGHSmXlodBen1Ujcdi-am5DQ\"}},{\"id\":\"urn:uuid:b76fbd72-48b7-45fb-b152-7ec13d11eafb\",\"type\":[\"VerifiableCredential\"],\"issuer\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438\",\"issuanceDate\":\"2024-02-06T05:40:45.066Z\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"ipfs://bafkreigd6nhj5auxobzu4qzlakzcaizh6wux2gq43qft4rwpri7msn2geu\"],\"credentialSubject\":[{\"date\":\"2024-02-06T05:40:45.021Z\",\"tokenId\":\"0.0.1621155\",\"amount\":\"5\",\"@context\":[\"ipfs://bafkreigd6nhj5auxobzu4qzlakzcaizh6wux2gq43qft4rwpri7msn2geu\"],\"type\":\"MintToken\"}],\"proof\":{\"type\":\"Ed25519Signature2018\",\"created\":\"2024-02-06T05:40:45Z\",\"verificationMethod\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438#did-root-key\",\"proofPurpose\":\"assertionMethod\",\"jws\":\"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..5hWYO3NA0Q9zI0oS1lLOpofQI-DTQVM0sd4GUQV-UUSlBug3EgYYBm7247LCzlCRt9VpYsUh7SxIrsgHzsSRDA\"}}],\"proof\":{\"type\":\"Ed25519Signature2018\",\"created\":\"2024-02-06T05:40:45Z\",\"verificationMethod\":\"did:hedera:testnet:C5YaWT128KGmtivag99VbSeKrzxP8P8H7FbL2KQ9VQEB_0.0.1533438#did-root-key\",\"proofPurpose\":\"authentication\",\"challenge\":\"123\",\"jws\":\"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Mu5BaQ34idnqG6d-aMqufQOXcuWHMkv6N9Z2zhBi9Yfd7jU9FFkwi-Xjyf-Kastr7vVWBNLwGxB-bPRf4UEHAg\"}}\""
]
}
]
}