place.hud.createAppRecord
Write a record of one of the collections a frame app names in its writes in the person's own repository (com.atproto.repo.createRecord), its $type set by HUD and the record checked against the collection's lexicon first, once they have allowed the app (place.hud.allowAppEntries) and signed in asking to write that collection. Never in a private instance: in one, the app writes to the public network as outside it. 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 | 3n3kx77ogsyju |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe app's place.hud.app record.
Which of the collections it writes.
The record, an object as the collection's lexicon describes it; its $type left out or the collection.
Errors
NotFound
HUD has no frame app of this id.
InvalidRequest
The collection is not one the app names in its writes, the record does not match its lexicon, or the input is not what the method takes.
ConsentRequired
The person has not allowed this app to save for them: ask them, then place.hud.allowAppEntries.
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 the app asked to write this collection, 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.createAppEntry
procedureSave an entry for a frame app.
-
place.hud.publishApp
procedurePublish a frame app.
-
place.hud.deleteAppRecord
procedureDelete one of the person's records a frame app writes.
-
Allow a frame app to save the person's entries.
-
pub.techne.draft.permissioned.putRecord
procedureWrite a record into the caller's own repo, as a permissioned record (the generic private write). The caller authenticates with its own credential: a session from any sign-in lane (OAuth included), or an atproto service-auth JWT (iss = the caller, aud = the AppView's service DID, lxm = this method). repo must be the caller, or a collective or circle the platform holds the credential of whose own member space (`space.collective.member/self`) the caller manages (that space's manage leg alone hands