Retrieve linked Label documents by ID
Retrieves documents relationships for the specified ID.
Authorizations
Path parameters
definitionIdstringRequiredExample: 
Statistic Definition Identifier
000000000000000000000001documentIdstringRequiredExample: 
Label Document Identifier
000000000000000000000001Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
get
/policy-labels/{definitionId}/documents/{documentId}/relationshipsGET /api/v1/policy-labels/{definitionId}/documents/{documentId}/relationships HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "target": {
    "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": {}
    }
  },
  "relationships": [
    {
      "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