place.hud.getInstance
A private instance of a frame app (a place.hud.app.instance space), read as the person: HUD trades a delegation token from their PDS for a space credential from the space's host, then reads its writers' repos with it, each checked against its MAC. Its name, the app it runs, its members and what the person may do in it. 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 | 3n3knrciqgpju |
| Indexed |
Query
query · GETParameters
query stringapp
string · at-uriThe app it must run, its authority a DID or a handle: an instance of another app is not found.
authority
string · at-identifierWho made it, by DID or handle, with key, in place of instance: as its page's address names it.
instance
string · at-uriThe instance's space, at:space/<authority DID>/place.hud.app.instance/<key>. Or give authority and key.
key
string · record-keyIts space's key, a TID, with authority.
Errors
InvalidRequest
Neither instance nor authority and key given, or not a space of place.hud.app.instance.
NotFound
It was deleted, or it runs another app than the one asked.
NotAMember
The person is not one of its members, or there is no such instance: its host says nothing of which.
CannotRead
The person's PDS gives no delegation token to read it with: it does not offer spaces, or their sign-in does not allow reading them (the message says which: sign in again for the latter).
AuthRequired
No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.
UpstreamFailure
A PDS refused, could not be reached, or answered what does not check (a MAC, a repo's records).
#instance
objectA private instance as its members see it.
Properties
The place.hud.app it runs, by its author's DID.
Who made it, and alone adds and takes out its members and deletes it.
createdAt
string · datetimeWhat its members call it.
maxLength: 640
What the person is in it: its authority, a member who writes in it, or one who reads it alone.
maxLength: 16knownValues: authority | writer | reader
Its space, at:space/<authority DID>/place.hud.app.instance/<key>: what the entry methods take as instance.
A mark of what HUD read of it, which changes whenever any of its members' repos does. Opaque.
maxLength: 128
#member
objectA member of a private instance, as its authority published them.
Properties
cannotRead
stringWhy they can't read it, once HUD found their PDS gives no delegation token (it does not offer spaces). Left out where HUD knows of nothing in the way.
maxLength: 300
handle
stringTheir handle, verified, where known.
maxLength: 253
Whether they write in it, as the app's writers do; else they read it alone.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.listInstances
queryThe private instances of frame apps the person is in.
-
place.hud.createInstance
procedureMake a private instance of a frame app.
-
place.hud.app.instance
spaceA private instance of a HUD frame app (a place.hud.app), a memberspace keyed by a TID with the person who made it as its authority: its info, one place.hud.app.instance.info record keyed self in the authority's repo in the space; and its members' entries, each a place.hud.app.entry record in the repo of the member who wrote it, read by the members alone. Its members are published (com.atproto.memberspace.member records in the authority's repo), so members see each other; those who may write are
-
place.hud.deleteInstance
procedureDelete a private instance of a frame app.
-
A private instance's changes, as server-sent events.