Status List
Endpoints for managing status lists
Retrieves the status lists, filtered by supported credential ID or status purpose.
Filter by status purpose.
GET /api/v1/status-list/defs HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Accept: */*
[
{}
]
Post a status list definition.
The purpose of the status. Defaults to "revocation".
revocation
The size of the status in bits.
1
The size of a shard, between 1 and list_size.
1024
Number of entries in status list, minimum 131072
131072
POST /api/v1/status-list/defs HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"status_purpose": "revocation",
"status_message": [
{
"status": "0x00",
"message": "active"
}
],
"status_size": 1,
"shard_size": 1024,
"list_size": 131072
}
{}
Retrieve the status list.
Identifier of the status list definition to retrieve.
GET /api/v1/status-list/defs/{id} HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"id": "1"
}
]
Delete the status list.
Identifier of the status list definition to delete.
Delete all underlying status list and entries recursively.
true
DELETE /api/v1/status-list/defs/{id} HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"recursive_delete": true
}
[
{
"id": "1"
}
]
Delete the status list.
Identifier of the credential.
GET /api/v1/status-list/entries/{credential_exchange_id} HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Accept: */*
{
"list": 1,
"index": 1,
"status": "01",
"assigned": true
}
Update a status list credential's status.
Identifier of the credential.
The status bitstring.
01
PATCH /api/v1/status-list/entries/revoke/{credential_exchange_id} HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"status": "01"
}
{
"list": 1,
"index": 1,
"status": "01",
"assigned": true
}
Publish a status list definition.
Identifier of the status list definition.
DID.
did:indy:indicio:test:W3v5casouvLGCwVx6KGgYG
Verification method.
did:indy:indicio:test:W3v5casouvLGCwVx6KGgYG#assert
Status Type.
w3c
PUT /api/v1/status-list/defs/{def_id}/publish HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 150
{
"did": "did:indy:indicio:test:W3v5casouvLGCwVx6KGgYG",
"verification_method": "did:indy:indicio:test:W3v5casouvLGCwVx6KGgYG#assert",
"status_type": "w3c"
}
{
"published": true,
"error": "text",
"definition_id": "w3c",
"status_lists": [
"text"
]
}
Was this helpful?