Read an active Record’s accepted sources

Each item identifies one CF and the contributor DID captured when this Record accepted that source, in committed source order. References are on-chain hashes and IDs. Ownership transfers leave this attribution unchanged. To continue a scan, pass the first page's asOfBlockHash with each positive offset.

GET
/v1/records/{recordId}/lineage
/v1/records/{recordId}/lineage

Path Parameters

recordId
Required
not unknown

Nonzero 32-byte identifier in lowercase hexadecimal.

Pattern: "^0x[0-9a-f]{64}$"

Query Parameters

offsetinteger

Canonical decimal offset. Positive offsets require asOfBlockHash.

Default: 0Minimum: 0Maximum: 10000

limitinteger

Canonical decimal page size. Defaults to the configured API limit capped at 100.

Minimum: 1Maximum: 100

asOfBlockHashnot unknown

Canonical checkpoint hash returned on the first page.

Pattern: "^0x[0-9a-f]{64}$"
curl -X GET "http://lineage-api.xny-staging.svc.cluster.local:8001/v1/records/string/lineage?offset=0&limit=1&asOfBlockHash=string"

Issuing Producer and accepted sources at one canonical checkpoint.

{
  "chainId": "string",
  "asOfBlock": "string",
  "asOfBlockHash": "string",
  "finality": "canonical",
  "indexedAt": "2019-08-24T14:15:22Z",
  "syncStatus": "indexing",
  "offset": 10000,
  "limit": 1,
  "total": 0,
  "items": [
    {
      "recordId": "string",
      "producerActorId": "string",
      "appId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "cfId": "string",
      "contributorDidId": "string",
      "sourceRightsHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "sourceRefHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "originKind": "1",
      "sourceRegistry": "string",
      "sourceProducerActorId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "sourceAppId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "productionId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "contextId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "legacyTaskId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "parentCfId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "kindHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "metadataHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "agreementHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "validationEvidenceHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "sourceSequence": "string"
    }
  ],
  "recordId": "string",
  "producerActorId": "string",
  "appId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41"
}

Last updated