full diff

place.hud.publishApp

From
bafyreigcpqatkaybswdkm76fuwxl7zszh62arhmgbsclxcel63mgoidz74 indexed 2026-11-30 20:31 UTC View this version
To
bafyreiaorf7cfpe6e2nm43nnnztwsnc5nt6w6jkrziywji7yjglicpijm4 indexed 2026-12-01 00:05 UTC View this version

Compatibility

backward compatible Backward compatible. 17 non-breaking changes.

Non-breaking changes (17)
  • AddedVertex AddedVertex { vertex_id: "place.hud.app#collection" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app#origin" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.publishApp:input.origins" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.publishApp:input.origins:items" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.publishApp:input.reads" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.publishApp:input.reads:items" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.publishApp:input.writes" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.publishApp:input.writes:items" }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input", tgt: "place.hud.publishApp:input.origins", kind: "prop", name: Some("origins") }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input", tgt: "place.hud.publishApp:input.reads", kind: "prop", name: Some("reads") }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input", tgt: "place.hud.publishApp:input.writes", kind: "prop", name: Some("writes") }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input.origins", tgt: "place.hud.publishApp:input.origins:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input.origins:items", tgt: "place.hud.app#origin", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input.reads", tgt: "place.hud.publishApp:input.reads:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input.reads:items", tgt: "place.hud.app#collection", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input.writes", tgt: "place.hud.publishApp:input.writes:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.publishApp:input.writes:items", tgt: "place.hud.app#collection", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "place.hud.app#collection" }
  • AddedVertex { vertex_id: "place.hud.app#origin" }
  • AddedVertex { vertex_id: "place.hud.publishApp:input.origins" }
  • AddedVertex { vertex_id: "place.hud.publishApp:input.origins:items" }
  • AddedVertex { vertex_id: "place.hud.publishApp:input.reads" }
  • AddedVertex { vertex_id: "place.hud.publishApp:input.reads:items" }
  • AddedVertex { vertex_id: "place.hud.publishApp:input.writes" }
  • AddedVertex { vertex_id: "place.hud.publishApp:input.writes:items" }

Notes

  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input", tgt: "place.hud.publishApp:input.origins", kind: "prop", name: Some("origins") }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input", tgt: "place.hud.publishApp:input.reads", kind: "prop", name: Some("reads") }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input", tgt: "place.hud.publishApp:input.writes", kind: "prop", name: Some("writes") }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input.origins", tgt: "place.hud.publishApp:input.origins:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input.origins:items", tgt: "place.hud.app#origin", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input.reads", tgt: "place.hud.publishApp:input.reads:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input.reads:items", tgt: "place.hud.app#collection", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input.writes", tgt: "place.hud.publishApp:input.writes:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.publishApp:input.writes:items", tgt: "place.hud.app#collection", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Write a place.hud.app record in the person's own repository at rkey, a new one or in place of the one there, its blobs uploaded before (place.hud.uploadBlob with purpose app), checked as HUD checks an app it runs: its lexicon, its kinds' defs and its words. 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": "The app is not one HUD runs: what is wrong is named.",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.",
1313 "name": "AuthRequired"
1414 },
1515 {
1616 "description": "Their PDS refused the write; or they signed in before HUD asked to publish apps, which the message says: sign in again.",
1717 "name": "UpstreamFailure"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "html": {
2525 "accept": [
2626 "text/html"
2727 ],
2828 "description": "Its document, uploaded first (place.hud.uploadBlob with purpose app).",
2929 "maxSize": 2000000,
3030 "type": "blob"
3131 },
3232 "icon": {
3333 "accept": [
3434 "image/png",
3535 "image/webp"
3636 ],
3737 "description": "Its icon, uploaded first.",
3838 "maxSize": 256000,
3939 "type": "blob"
4040 },
4141 "kinds": {
4242 "description": "Its kinds of entry, each a name (1 to 64 letters and digits in lowerCamelCase) and a lexicon object def.",
4343 "items": {
4444 "ref": "place.hud.app#kind",
4545 "type": "ref"
4646 },
4747 "maxLength": 16,
4848 "minLength": 1,
4949 "type": "array"
5050 },
5151 "name": {
5252 "description": "What the app is called.",
5353 "maxGraphemes": 64,
5454 "maxLength": 640,
5555 "type": "string"
5656 },
57 "origins": {
58 "description": "The https origins it loads pictures and audio from, as place.hud.app holds them: each one a view HUD trusts names.",
59 "items": {
60 "ref": "place.hud.app#origin",
61 "type": "ref"
62 },
63 "maxLength": 8,
64 "type": "array"
65 },
66 "reads": {
67 "description": "Public collections it reads beyond its entries, as place.hud.app holds them.",
68 "items": {
69 "ref": "place.hud.app#collection",
70 "type": "ref"
71 },
72 "maxLength": 16,
73 "type": "array"
74 },
5775 "rkey": {
5876 "description": "The app's record key, its address's last part: 1 to 64 of a-z, 0-9 and -.",
5977 "maxLength": 64,
6078 "minLength": 1,
6179 "type": "string"
6280 },
6381 "summary": {
6482 "description": "What it is.",
6583 "maxGraphemes": 300,
6684 "maxLength": 3000,
6785 "type": "string"
6886 },
6987 "words": {
7088 "accept": [
7189 "application/json"
7290 ],
7391 "description": "Its words by language, uploaded first.",
7492 "maxSize": 512000,
7593 "type": "blob"
7694 },
7795 "writers": {
7896 "description": "Who alone may write its entries: anyone where it is left out.",
7997 "items": {
8098 "ref": "place.hud.app#writer",
8199 "type": "ref"
82100 },
83101 "maxLength": 200,
84102 "type": "array"
103 },
104 "writes": {
105 "description": "Collections it writes in the person's repository beyond its entries, as place.hud.app holds them: each one whose record lexicon HUD bundles.",
106 "items": {
107 "ref": "place.hud.app#collection",
108 "type": "ref"
109 },
110 "maxLength": 8,
111 "type": "array"
85112 }
86113 },
87114 "required": [
88115 "rkey",
89116 "name",
90117 "html",
91118 "kinds"
92119 ],
93120 "type": "object"
94121 }
95122 },
96123 "output": {
97124 "encoding": "application/json",
98125 "schema": {
99126 "properties": {
100127 "cid": {
101128 "format": "cid",
102129 "type": "string"
103130 },
104131 "uri": {
105132 "format": "at-uri",
106133 "type": "string"
107134 },
108135 "url": {
109136 "description": "The app's page, to share: /a/<handle>/<rkey> on this server.",
110137 "format": "uri",
111138 "type": "string"
112139 }
113140 },
114141 "required": [
115142 "uri",
116143 "cid",
117144 "url"
118145 ],
119146 "type": "object"
120147 }
121148 },
122149 "type": "procedure"
123150 }
124151 },
125152 "description": "Publish a frame app.",
126153 "id": "place.hud.publishApp",
127154 "lexicon": 1
128155}

Compare other versions