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
Kindquery
Authorityhud.place
Commit rev3n3knrciqgpju
Indexed

Query

query · GET

Parameters

query string

app

string · at-uri

The app it must run, its authority a DID or a handle: an instance of another app is not found.

authority

string · at-identifier

Who made it, by DID or handle, with key, in place of instance: as its page's address names it.

instance

string · at-uri

The instance's space, at:space/<authority DID>/place.hud.app.instance/<key>. Or give authority and key.

key

string · record-key

Its space's key, a TID, with authority.

Output

application/json
Reference

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

object

A private instance as its members see it.

Properties

app

requiredstring · at-uri

The place.hud.app it runs, by its author's DID.

authority

requiredref

Who made it, and alone adds and takes out its members and deletes it.

createdAt

string · datetime

members

requiredarray

Its members, the authority first, then by handle.

itemsref
Reference

name

requiredstring

What its members call it.

  • maxLength: 640

role

requiredstring

What the person is in it: its authority, a member who writes in it, or one who reads it alone.

  • maxLength: 16
  • knownValues: authority | writer | reader

uri

requiredstring · at-uri

Its space, at:space/<authority DID>/place.hud.app.instance/<key>: what the entry methods take as instance.

version

requiredstring

A mark of what HUD read of it, which changes whenever any of its members' repos does. Opaque.

  • maxLength: 128

#member

object

A member of a private instance, as its authority published them.

Properties

Why 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

did

requiredstring · did

handle

string

Their handle, verified, where known.

  • maxLength: 253

write

requiredboolean

Whether they write in it, as the app's writers do; else they read it alone.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • The private instances of frame apps the person is in.

  • Make a private instance of a frame app.

  • A 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

  • Delete a private instance of a frame app.

  • A private instance's changes, as server-sent events.