place.hud.listInstances
The private instances of frame apps (place.hud.app.instance spaces) the person is in, the newest made first, at most 100: those their PDS lists (the ones they made, and others' they have written in) and those HUD added them to or they opened. Each is read as the person reads it, so one they are no longer in, or that was deleted, is left out, as is one that can't be read now. Kept a minute, and read afresh once HUD adds the person to one or takes them out. Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3kudbvbhvju |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"appView": {
"description": "The app a private instance runs, as it is published now.",
"properties": {
"icon": {
"description": "Its icon's address, through HUD's blob proxy.",
"format": "uri",
"type": "string"
},
"name": {
"maxLength": 640,
"type": "string"
},
"uri": {
"description": "The place.hud.app it runs, by its author's DID.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"name"
],
"type": "object"
},
"instanceView": {
"description": "A private instance as a list of the person's shows it.",
"properties": {
"app": {
"ref": "#appView",
"type": "ref"
},
"authority": {
"description": "Who made it.",
"ref": "place.hud.defs#actor",
"type": "ref"
},
"memberCount": {
"description": "How many members it has, its authority among them.",
"minimum": 1,
"type": "integer"
},
"name": {
"description": "What its members call it.",
"maxLength": 640,
"type": "string"
},
"role": {
"description": "What the person is in it: its authority, a member who writes in it, or one who reads it alone.",
"knownValues": [
"authority",
"writer",
"reader"
],
"maxLength": 16,
"type": "string"
},
"uri": {
"description": "Its space, at:space/<authority DID>/place.hud.app.instance/<key>: what getInstance takes as instance.",
"format": "at-uri",
"type": "string"
},
"url": {
"description": "Its page on this server, /a/<actor>/<rkey>/i/<authority>/<key>, each account by its handle where it has one.",
"format": "uri",
"type": "string"
}
},
"required": [
"uri",
"name",
"app",
"authority",
"role",
"memberCount",
"url"
],
"type": "object"
},
"main": {
"description": "The private instances of frame apps (place.hud.app.instance spaces) the person is in, the newest made first, at most 100: those their PDS lists (the ones they made, and others' they have written in) and those HUD added them to or they opened. Each is read as the person reads it, so one they are no longer in, or that was deleted, is left out, as is one that can't be read now. Kept a minute, and read afresh once HUD adds the person to one or takes them out. Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.",
"errors": [
{
"description": "app is not a frame app's at-uri.",
"name": "InvalidRequest"
},
{
"description": "No one is the authority app names.",
"name": "NotFound"
},
{
"description": "No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.",
"name": "AuthRequired"
},
{
"description": "The person's PDS failed to list their spaces, or their sign-in does not allow private instances (the message says to sign in again).",
"name": "UpstreamFailure"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"instances": {
"items": {
"ref": "#instanceView",
"type": "ref"
},
"maxLength": 100,
"type": "array"
}
},
"required": [
"instances"
],
"type": "object"
}
},
"parameters": {
"properties": {
"app": {
"description": "Only the instances running this app (any version of it), its authority a DID or a handle.",
"format": "at-uri",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"description": "The private instances of frame apps the person is in.",
"id": "place.hud.listInstances",
"lexicon": 1
}