full diff

place.hud.getFrameApp

From
bafyreihhqunqeehp2olvp7sfrxju6qq4cczkq5fvftj7jecarwhrufwqk4 indexed 2026-11-30 21:17 UTC View this version
To
bafyreibp3tpiftofwsce6ork57bhul3gvucj5phhmwjslygbk7wsdobude 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.getFrameApp:output.origins" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.getFrameApp:output.origins:items" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.getFrameApp:output.reads" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.getFrameApp:output.reads:items" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.getFrameApp:output.writes" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.getFrameApp:output.writes:items" }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output", tgt: "place.hud.getFrameApp:output.origins", kind: "prop", name: Some("origins") }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output", tgt: "place.hud.getFrameApp:output.reads", kind: "prop", name: Some("reads") }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output", tgt: "place.hud.getFrameApp:output.writes", kind: "prop", name: Some("writes") }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output.origins", tgt: "place.hud.getFrameApp:output.origins:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output.origins:items", tgt: "place.hud.app#origin", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output.reads", tgt: "place.hud.getFrameApp:output.reads:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output.reads:items", tgt: "place.hud.app#collection", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output.writes", tgt: "place.hud.getFrameApp:output.writes:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.getFrameApp:output.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.getFrameApp:output.origins" }
  • AddedVertex { vertex_id: "place.hud.getFrameApp:output.origins:items" }
  • AddedVertex { vertex_id: "place.hud.getFrameApp:output.reads" }
  • AddedVertex { vertex_id: "place.hud.getFrameApp:output.reads:items" }
  • AddedVertex { vertex_id: "place.hud.getFrameApp:output.writes" }
  • AddedVertex { vertex_id: "place.hud.getFrameApp:output.writes:items" }

Notes

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

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "file": {
55 "description": "A type of file an app takes, and the most bytes one may be.",
66 "properties": {
77 "maxSize": {
88 "maximum": 10000000,
99 "minimum": 1,
1010 "type": "integer"
1111 },
1212 "mimeType": {
1313 "knownValues": [
1414 "image/jpeg",
1515 "image/png",
1616 "image/webp",
1717 "image/gif",
1818 "audio/mpeg",
1919 "audio/mp4",
2020 "audio/ogg",
2121 "application/octet-stream"
2222 ],
2323 "maxLength": 64,
2424 "type": "string"
2525 }
2626 },
2727 "required": [
2828 "mimeType",
2929 "maxSize"
3030 ],
3131 "type": "object"
3232 },
3333 "kind": {
3434 "description": "One of an app's kinds of entry.",
3535 "properties": {
3636 "name": {
3737 "maxLength": 64,
3838 "type": "string"
3939 }
4040 },
4141 "required": [
4242 "name"
4343 ],
4444 "type": "object"
4545 },
4646 "main": {
4747 "description": "A published frame app as its page shows it, read from its author's PDS: its name, what it is, who made it, its kinds of entry and the files they take, where its document is, its icon and its words in a language. One its record or blobs can't be read for, or that this server refuses (HUD_APP_BLOCKS), is not found. No auth required (a session it carries is read only to say whether it is enough to save in the app).",
4848 "errors": [
4949 {
5050 "description": "No such app: its record or blobs can't be read, it isn't one HUD runs, or this server took it down.",
5151 "name": "NotFound"
5252 },
5353 {
5454 "description": "The input is not what the method takes.",
5555 "name": "InvalidRequest"
5656 }
5757 ],
5858 "output": {
5959 "encoding": "application/json",
6060 "schema": {
6161 "properties": {
6262 "accept": {
6363 "description": "The files its kinds take (their blob fields), each type once with the largest maxSize any gives it; left out where it takes none. place.hud.uploadAppBlob takes these.",
6464 "items": {
6565 "ref": "#file",
6666 "type": "ref"
6767 },
6868 "type": "array"
6969 },
7070 "app": {
7171 "description": "The app's record, by its author's DID.",
7272 "format": "at-uri",
7373 "type": "string"
7474 },
7575 "by": {
7676 "description": "Who made it.",
7777 "ref": "place.hud.defs#actor",
7878 "type": "ref"
7979 },
8080 "cid": {
8181 "description": "The version of the record read, as its PDS said it.",
8282 "format": "cid",
8383 "type": "string"
8484 },
8585 "icon": {
8686 "description": "Its icon's address, through HUD's blob proxy.",
8787 "format": "uri",
8888 "type": "string"
8989 },
9090 "instances": {
9191 "description": "Whether this server makes private instances of apps (place.hud.createInstance): its page offers one.",
9292 "type": "boolean"
9393 },
9494 "kinds": {
9595 "description": "Its kinds of entry, each one place.hud.createAppEntry writes.",
9696 "items": {
9797 "ref": "#kind",
9898 "type": "ref"
9999 },
100100 "type": "array"
101101 },
102102 "name": {
103103 "maxLength": 64,
104104 "type": "string"
105105 },
106 "origins": {
107 "description": "The https origins its document loads pictures and audio from: its frame's policy lets them in img-src and media-src alone. Left out where it names none.",
108 "items": {
109 "ref": "place.hud.app#origin",
110 "type": "ref"
111 },
112 "maxLength": 8,
113 "type": "array"
114 },
115 "reads": {
116 "description": "The public collections it reads beyond its entries (place.hud.listAppRecords, place.hud.getAppRecords). Left out where it names none.",
117 "items": {
118 "ref": "place.hud.app#collection",
119 "type": "ref"
120 },
121 "maxLength": 16,
122 "type": "array"
123 },
106124 "signInAgain": {
107125 "description": "Whether the session the request carries is short of what saving in this app needs (its entries and its files): its page asks to sign in again. Left out signed out.",
108126 "type": "boolean"
109127 },
110128 "summary": {
111129 "maxLength": 300,
112130 "type": "string"
113131 },
114132 "url": {
115133 "description": "Its document's path on this server, /frame/<did>/<rkey>: framed sandboxed, scripts alone.",
116134 "maxLength": 128,
117135 "type": "string"
118136 },
119137 "words": {
120138 "description": "Its words in the language asked for, each it lacks in English: an object of {text, note} by key.",
121139 "type": "unknown"
122140 },
123141 "writers": {
124142 "description": "Who may write its entries, where it names them: anyone else's saves are refused. Left out where anyone may.",
125143 "items": {
126144 "ref": "place.hud.defs#actor",
127145 "type": "ref"
128146 },
129147 "maxLength": 200,
130148 "type": "array"
149 },
150 "writes": {
151 "description": "The collections it writes in the person's own repository beyond its entries (place.hud.createAppRecord, place.hud.deleteAppRecord), once they allow it. Left out where it names none.",
152 "items": {
153 "ref": "place.hud.app#collection",
154 "type": "ref"
155 },
156 "maxLength": 8,
157 "type": "array"
131158 }
132159 },
133160 "required": [
134161 "app",
135162 "name",
136163 "by",
137164 "kinds",
138165 "url",
139166 "words"
140167 ],
141168 "type": "object"
142169 }
143170 },
144171 "parameters": {
145172 "properties": {
146173 "app": {
147174 "description": "The app's place.hud.app record, its authority a DID or a handle.",
148175 "format": "at-uri",
149176 "type": "string"
150177 },
151178 "lang": {
152179 "description": "The language its words are wanted in, as en or pt-BR: in English where it has none in it.",
153180 "maxLength": 35,
154181 "type": "string"
155182 }
156183 },
157184 "required": [
158185 "app"
159186 ],
160187 "type": "params"
161188 },
162189 "type": "query"
163190 }
164191 },
165192 "description": "A frame app HUD serves.",
166193 "id": "place.hud.getFrameApp",
167194 "lexicon": 1
168195}

Compare other versions