Returns VP Documents

Get VPs

Returns VPs

GET/api/v1/entities/vp-documents
Query parameters
Response

VPs

Body
pageIndex*number

Page index

Example: "0"
pageSize*number

Page size

Example: "10"
total*number

Total size

Example: "100"
order*object

Order

itemsarray of VPGridDTO (object)
Request
const response = await fetch('/api/v1/entities/vp-documents', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "pageIndex": "0",
  "pageSize": "10",
  "total": "100",
  "items": [
    {
      "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"
        ]
      }
    }
  ]
}

Last updated