place.hud.createShareLink
Share by link, given one of: canvas, a canvas of the person's own, turning on view by anyone with the link (its link as it is where it is on already); tile, one tile's call, kept as it is now; chat and turn, one answer of a chat of the person's, its question, words, steps and tiles kept as they are now. A link is viewed by anyone who has it, signed in or not, and never edits. A person has at most 200 links. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbje6flgju |
| Indexed |
Procedure
procedure · POSTInput
application/jsoncanvas
stringA canvas the person owns, to share live.
minLength: 12maxLength: 12
chat
stringA chat of the person's, given with turn: its answer to share.
minLength: 12maxLength: 12
tile
refA tile's call, to share as it is now: one of HUD's read tools a tile draws.
turn
integerThe answer's turn in the chat (chatDefs#message's turn).
minimum: 1
Output
application/jsonErrors
NotFound
No canvas of this id that the person owns, no chat of this id of theirs, or no answer at that turn of it.
Forbidden
The canvas is not the person's own: only its owner shares it by link.
InvalidRequest
Not one of canvas, tile, or chat with turn; a tool no tile draws; arguments too large; or input not what the method takes.
LimitReached
The person has 200 links: delete one first.
AuthRequired
No live web session or HUD access token: sign in.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.getShared
queryWhat a link shares.
-
The person's links.
-
Call a shared page's tile, signed out.
-
Stop sharing a link.
-
Invite someone to a canvas.