AY Developer docs
ApiIdentity

Token Status List of TwinMandateCredentials

Same format and values as `/identity/status-list`, with its own indexes, for the mandates a person signs for their twin (AIOAY-5541). Every mandate gets a new index. A superseded, revoked or expired mandate (after the grace period) is `1` INVALID. Served bare, `application/statuslist+json`, `Cache-Control: public, max-age=300`, `ETag`.

GET
/identity/status-list/mandates

Same format and values as /identity/status-list, with its own indexes, for the mandates a person signs for their twin (AIOAY-5541). Every mandate gets a new index. A superseded, revoked or expired mandate (after the grace period) is 1 INVALID. Served bare, application/statuslist+json, Cache-Control: public, max-age=300, ETag.

Response Body

Status list

application/statuslist+json
  1. response
status_list*string

Compressed (DEFLATE, zlib), base64url-encoded bit array (IETF Token Status List §4.1), 2 bits per index packed least-significant-bit first. Values: 0 VALID, 1 INVALID, 2 SUSPENDED.

bits*2
Value in2
total*integer

Number of indexes in the list.

Example Request
curl -X GET 'https://api.aytwin.ai/api/v1/identity/status-list/mandates'
Example Response
{  "status_list": "string",  "bits": 2,  "total": 0}