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). 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 rev3n3ki5cdposju
Indexed

Showing version bafyreif42ol3sh3xs4miex45srn4mfrzd67aufcmz7xji6tmbcs4nz656i. Show the latest

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.

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.

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.