API ReferenceDIDs
Non-zero dataset-share balances held by this DID's DBA
200 with an empty page for an unknown DID, or one that has never claimed.
GET
/
v1/dids/{did}/holdingsPath Parameters
didRequiredstring
Accepts did:alodium:<uuid>, did:alodium:<decimal>, bare <uuid> or bare
<decimal>. Percent-encoded forms work too — the handler unescapes
first, so did%3Aalodium%3A... from encodeURIComponent resolves correctly.
Query Parameters
limitinteger
Page size. Server-configured default and ceiling (API_DEFAULT_LIMIT /
API_MAX_LIMIT; 50 and 200 unless overridden). A value above the ceiling
is silently clamped, not rejected — check pagination.limit in the
response rather than assuming the requested value was honoured. Values
below 1, or non-integers, are a 400.
Minimum:
1cursorstring
Opaque cursor from a previous response's pagination.nextCursor. Omit
for the first page. A malformed cursor is a 400.
curl -X GET "http://lineage-api.alodium-staging.svc.cluster.local:8001/v1/dids/string/holdings?limit=1&cursor=string"A page of holdings.
{
"items": [
{
"datasetId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"balance": "string",
"totalShares": "string"
}
],
"pagination": {
"limit": 0,
"nextCursor": "string",
"hasMore": true
}
}Last updated