health.hats.listRequests
The requests waiting on the caller: access asked for their own spaces that policy leaves to them. Authenticated as the patient (service auth), so each patient sees only their own.
Details · query
| Kind | query |
|---|---|
| Authority | hats.health |
| Indexed |
Checks
Validunlimited-stringdefs.request.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.request.properties.picks.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.requester.properties.institutionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.requester.properties.roleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The requests waiting on the caller: access asked for their own spaces that policy leaves to them. Authenticated as the patient (service auth), so each patient sees only their own.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"requests": {
"items": {
"ref": "#request",
"type": "ref"
},
"type": "array"
}
},
"required": [
"requests"
],
"type": "object"
}
},
"type": "query"
},
"request": {
"description": "One request, as the coordinator recorded it.",
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"description": "Identifier to answer this request by in answerRequest.",
"type": "string"
},
"picks": {
"description": "The option ids asked for, from the requester's menu.",
"items": {
"type": "string"
},
"type": "array"
},
"reason": {
"ref": "health.hats.requestAccess#reason",
"type": "ref"
},
"requester": {
"ref": "#requester",
"type": "ref"
}
},
"required": [
"id",
"requester",
"reason",
"picks",
"createdAt"
],
"type": "object"
},
"requester": {
"description": "Who asked, from the coordinator's provider registry.",
"properties": {
"did": {
"format": "did",
"type": "string"
},
"institution": {
"description": "The institution the requester acts for, as the registry names it.",
"type": "string"
},
"role": {
"description": "NUCC Health Care Provider Taxonomy code.",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
}
},
"id": "health.hats.listRequests",
"lexicon": 1
}