List accepted Record sources attributed to a contributor DID

Lists one row per active Record and CF attributed to this DID at source acceptance, in Record ID and committed source order. To continue a scan, pass the first page's asOfBlockHash with each positive offset.

GET
/v1/dids/{did}/recordContributions
/v1/dids/{did}/recordContributions

Path Parameters

did
Required
string

Contributor DID captured when the Record accepted the CF, as a decimal integer from 1 to 340282366920938463463374607431768211455. For a legacy Task CF, the adapter reads the legacy registry's then-current contributor DID. It can differ from the DID at CF creation. Later changes to the legacy registry leave the Record's captured attribution unchanged.

Maximum length: 39Pattern: "^[1-9][0-9]*$"

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/dids/string/recordContributions?offset=0&limit=1&asOfBlockHash=string"

Contribution evidence frozen at source acceptance, paged 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"
    }
  ],
  "contributorDidId": "string"
}

Last updated