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
| Kind | procedure |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3knrchcw7ju |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe app's place.hud.app record.
The entry, an object as the app's def of its kind describes it.
instance
string · at-uriA private instance of the app (at:space/<authority DID>/place.hud.app.instance/<key>), to write the entry in.
Which of its kinds of entry.
maxLength: 64
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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.createAppRecord
procedureWrite a record a frame app makes in the person's own repository.
-
Allow a frame app to save the person's entries.
-
place.hud.createInstance
procedureMake a private instance of a frame app.
-
place.hud.publishApp
procedurePublish a frame app.
-
place.hud.deleteAppEntry
procedureDelete an entry a frame app saved for the person.