full diff

place.hud.getShared

From
bafyreiahglxohe4yxgjihnj62qszsn4bwkpiz2wfhgxkxs73zpcss2gbby indexed 2026-11-30 08:05 UTC View this version
To
bafyreidbowd6uzayw4v5dblavinihjznp6wize4gfytiha65hqo5jkxewy indexed 2026-11-30 17:51 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "canvas": {
55 "description": "A canvas, as it is now.",
66 "properties": {
77 "name": {
88 "maxLength": 80,
99 "type": "string"
1010 },
1111 "tiles": {
1212 "description": "Its tiles in strip order: each column's head, then the tiles stacked under it.",
1313 "items": {
1414 "ref": "place.hud.defs#sharedTile",
1515 "type": "ref"
1616 },
1717 "maxLength": 200,
1818 "type": "array"
1919 }
2020 },
2121 "required": [
2222 "name",
2323 "tiles"
2424 ],
2525 "type": "object"
2626 },
2727 "chat": {
2828 "description": "A chat's answer, as it was shared.",
2929 "properties": {
3030 "question": {
3131 "description": "What the person asked.",
3232 "maxLength": 10000,
3333 "type": "string"
3434 },
3535 "steps": {
3636 "description": "The tool calls the model made: each its tool and how it went, a query's method its one argument kept, never what the call answered.",
3737 "items": {
3838 "ref": "place.hud.chatDefs#step",
3939 "type": "ref"
4040 },
4141 "type": "array"
4242 },
4343 "text": {
4444 "description": "The model's words, Markdown.",
4545 "maxLength": 10000,
4646 "type": "string"
4747 },
4848 "tiles": {
4949 "description": "What the answer drew, in order.",
5050 "items": {
5151 "ref": "place.hud.defs#sharedCall",
5252 "type": "ref"
5353 },
5454 "type": "array"
5555 }
5656 },
5757 "required": [
5858 "question",
5959 "text",
6060 "steps",
6161 "tiles"
6262 ],
6363 "type": "object"
6464 },
6565 "main": {
6666 "description": "What a link shares, for anyone who has it: a canvas's name and tiles as they are now; a tile's call; or a chat's answer as it was shared, its question, words, steps and tiles' calls. Never a tile's result: the page calls each tile as whoever opens it (callTool signed in, callSharedTool signed out). Nothing but what was shared: no member, no canvas's or chat's id. No auth required (a web session it carries is read only to say whether it is enough to see the page as the person); each address asks at most 120 times a minute, with callSharedTool.",
6767 "errors": [
6868 {
6969 "description": "No link of this id: never one, or deleted, or what it shared was.",
7070 "name": "NotFound"
7171 },
7272 {
7373 "description": "The input is not what the method takes.",
7474 "name": "InvalidRequest"
7575 },
7676 {
7777 "description": "This address asked for shared pages and their tiles too often in the last minute: ask again in a minute.",
7878 "name": "RateLimitExceeded"
7979 }
8080 ],
8181 "output": {
8282 "encoding": "application/json",
8383 "schema": {
8484 "properties": {
8585 "by": {
8686 "description": "Who shared it.",
8787 "ref": "place.hud.defs#actor",
8888 "type": "ref"
8989 },
9090 "canvas": {
9191 "ref": "#canvas",
9292 "type": "ref"
9393 },
9494 "chat": {
9595 "ref": "#chat",
9696 "type": "ref"
9797 },
9898 "createdAt": {
9999 "description": "When it was shared.",
100100 "format": "datetime",
101101 "type": "string"
102102 },
103103 "key": {
104104 "description": "The link's key, as its URL names it.",
105105 "maxLength": 26,
106106 "minLength": 26,
107107 "type": "string"
108108 },
109109 "kind": {
110110 "description": "What it shares: canvas, tile or chat, whose field holds it.",
111111 "knownValues": [
112112 "canvas",
113113 "tile",
114114 "chat"
115115 ],
116116 "type": "string"
117117 },
118118 "servesChat": {
119 "description": "Whether this HUD serves the chat, at /chat: with no model to chat with it does not, and the page offers no Ask your own nor Ask about this.",
119 "description": "Whether this HUD serves the chat to the caller, at /chat: with no model to chat with it does not, nor where the operator names the accounts it answers and the caller, signed in or not, is none of them; then the page offers no Ask your own nor Ask about this.",
120120 "type": "boolean"
121121 },
122122 "signInAgain": {
123123 "description": "Whether the web session the request carries is short of what seeing a shared page as the person needs: the page asks to sign in again. Left out signed out.",
124124 "type": "boolean"
125125 },
126126 "tile": {
127127 "ref": "place.hud.defs#sharedCall",
128128 "type": "ref"
129129 },
130130 "title": {
131131 "description": "The canvas's name, the tile's title, or the question.",
132132 "maxLength": 200,
133133 "type": "string"
134134 }
135135 },
136136 "required": [
137137 "key",
138138 "kind",
139139 "by",
140140 "title",
141141 "createdAt"
142142 ],
143143 "type": "object"
144144 }
145145 },
146146 "parameters": {
147147 "properties": {
148148 "link": {
149149 "description": "The link's key, as its URL names it.",
150150 "maxLength": 26,
151151 "minLength": 26,
152152 "type": "string"
153153 }
154154 },
155155 "required": [
156156 "link"
157157 ],
158158 "type": "params"
159159 },
160160 "type": "query"
161161 }
162162 },
163163 "description": "What a link shares.",
164164 "id": "place.hud.getShared",
165165 "lexicon": 1
166166}

Compare other versions