Retrieve token (VP) and all its dependencies by document ID

Return a list of all documents.

get

Returns all documents.

Authorizations
Path parameters
definitionIdstringRequired

policy label Identifier

Example: 000000000000000000000001
documentIdstringRequired

Document Identifier

Example: 000000000000000000000001
Responses
200
Successful operation.
application/json
get
GET /api/v1/policy-labels/{definitionId}/tokens/{documentId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
[
  {
    "id": "000000000000000000000001",
    "policyId": "000000000000000000000001",
    "hash": "hash",
    "signature": 0,
    "status": "NEW",
    "tag": "Block tag",
    "type": "Document type",
    "createDate": "1900-01-01T00:00:00.000Z",
    "updateDate": "1900-01-01T00:00:00.000Z",
    "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "document": {
      "@context": [
        "text"
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "type": [
        "text"
      ],
      "verifiableCredential": [
        {}
      ],
      "proof": {}
    }
  }
]

Last updated