place.hud.createAppEntry

Write a place.hud.app.entry in the person's own repository for a frame app, its data checked against the app's def of its kind first, once they have allowed HUD's apps to save entries (place.hud.allowAppEntries). With instance, in their own repo in a private instance of the app instead (com.atproto.space.createRecord), as one of its writable members. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin) or a HUD access token as Bearer.

Details · procedure
Kindprocedure
Authorityhud.place
Commit rev3n3knrchcw7ju
Indexed

Procedure

procedure · POST

Input

application/json

app

requiredstring · at-uri

The app's place.hud.app record.

data

requiredunknown

The entry, an object as the app's def of its kind describes it.

instance

string · at-uri

A private instance of the app (at:space/<authority DID>/place.hud.app.instance/<key>), to write the entry in.

kind

requiredstring

Which of its kinds of entry.

  • maxLength: 64

Output

application/json

cid

requiredstring · cid

uri

requiredstring · at-uri

Errors

NotFound

HUD has no frame app of this id, or it has no kind of entry so named.

NotAMember

With instance: the person is not one of its members, or there is no such instance.

CannotRead

With instance: the person's PDS gives no delegation token to read it with.

InvalidRequest

The data is not as the app's def of its kind says, or the input is not what the method takes.

ConsentRequired

The person has not allowed HUD's apps to save entries: ask them, then place.hud.allowAppEntries.

NotAWriter

The app names its writers, and the person is none of them.

AuthRequired

No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.

UpstreamFailure

Their PDS refused the write; or they signed in before HUD asked to write entries, which the message says: sign in again.

Similar lexicons

semantic match

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