Alodium Docs

Whether a DID can claim in this dataset, with the claim bundle

DID-keyed sibling of the per-CF endpoint, for a caller who holds a DID and no `cfId`. A claim is per-contributor, so the bundle is the contributor aggregate — identical to what the per-CF endpoint returns for any of that contributor's CFs in this dataset. `cfId` is omitted from the response, and the reason set differs — see `ClaimabilityReason`.

GET
/v1/datasets/{id}/claimability
/v1/datasets/{id}/claimability

Path Parameters

id
Required
string

The dataset version's 32-byte id.

Pattern: "^0[xX][0-9a-fA-F]{64}$"

Query Parameters

did
Required
string

Which contributor to report on. Accepts any of the four DID request forms.

curl -X GET "http://lineage-api.alodium-staging.svc.cluster.local:8001/v1/datasets/9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU/claimability?did=string"

Claimability, whether or not the claim is possible.

{
  "cfId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
  "datasetId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
  "contributorDidId": "00000000-0000-0000-0000-0000000007d1",
  "claimable": true,
  "reason": "cf_not_found",
  "shareAmount": "string",
  "cfMerkleRoot": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
  "proof": [
    "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU"
  ],
  "ownershipBalance": "string",
  "hasClaimed": true,
  "proofStatus": "pending"
}

Last updated