full diff

place.hud.createAppEntry

From
bafyreif42ol3sh3xs4miex45srn4mfrzd67aufcmz7xji6tmbcs4nz656i indexed 2026-11-30 19:36 UTC View this version
To
bafyreig6bkpeg2rdyffklfu3fzc2lnht334gjjxk23t4lu3i54cvoiqgxy indexed 2026-11-30 21:17 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "place.hud.createAppEntry:input.instance" }
  • AddedEdge AddedEdge { src: "place.hud.createAppEntry:input", tgt: "place.hud.createAppEntry:input.instance", kind: "prop", name: Some("instance") }

Migration guidance

Added

  • AddedVertex { vertex_id: "place.hud.createAppEntry:input.instance" }

Notes

  • Non-breaking: AddedEdge { src: "place.hud.createAppEntry:input", tgt: "place.hud.createAppEntry:input.instance", kind: "prop", name: Some("instance") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "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.",
5 "description": "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.",
66 "errors": [
77 {
88 "description": "HUD has no frame app of this id, or it has no kind of entry so named.",
99 "name": "NotFound"
1010 },
1111 {
12 "description": "With instance: the person is not one of its members, or there is no such instance.",
13 "name": "NotAMember"
14 },
15 {
16 "description": "With instance: the person's PDS gives no delegation token to read it with.",
17 "name": "CannotRead"
18 },
19 {
1220 "description": "The data is not as the app's def of its kind says, or the input is not what the method takes.",
1321 "name": "InvalidRequest"
1422 },
1523 {
1624 "description": "The person has not allowed HUD's apps to save entries: ask them, then place.hud.allowAppEntries.",
1725 "name": "ConsentRequired"
1826 },
1927 {
2028 "description": "The app names its writers, and the person is none of them.",
2129 "name": "NotAWriter"
2230 },
2331 {
2432 "description": "No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.",
2533 "name": "AuthRequired"
2634 },
2735 {
2836 "description": "Their PDS refused the write; or they signed in before HUD asked to write entries, which the message says: sign in again.",
2937 "name": "UpstreamFailure"
3038 }
3139 ],
3240 "input": {
3341 "encoding": "application/json",
3442 "schema": {
3543 "properties": {
3644 "app": {
3745 "description": "The app's place.hud.app record.",
3846 "format": "at-uri",
3947 "type": "string"
4048 },
4149 "data": {
4250 "description": "The entry, an object as the app's def of its kind describes it.",
4351 "type": "unknown"
4452 },
53 "instance": {
54 "description": "A private instance of the app (at:space/<authority DID>/place.hud.app.instance/<key>), to write the entry in.",
55 "format": "at-uri",
56 "type": "string"
57 },
4558 "kind": {
4659 "description": "Which of its kinds of entry.",
4760 "maxLength": 64,
4861 "type": "string"
4962 }
5063 },
5164 "required": [
5265 "app",
5366 "kind",
5467 "data"
5568 ],
5669 "type": "object"
5770 }
5871 },
5972 "output": {
6073 "encoding": "application/json",
6174 "schema": {
6275 "properties": {
6376 "cid": {
6477 "format": "cid",
6578 "type": "string"
6679 },
6780 "uri": {
6881 "format": "at-uri",
6982 "type": "string"
7083 }
7184 },
7285 "required": [
7386 "uri",
7487 "cid"
7588 ],
7689 "type": "object"
7790 }
7891 },
7992 "type": "procedure"
8093 }
8194 },
8295 "description": "Save an entry for a frame app.",
8396 "id": "place.hud.createAppEntry",
8497 "lexicon": 1
8598}

Compare other versions