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.

Repository @lexicons.hud.place did:plc:3tzbz4pml36u4mkresb6pdhv not from the namespace authority
Details · procedure
Kindprocedure
Authorityhud.place
Commit rev3n3jbje6flgju
Indexed

Procedure

procedure · POST

Input

application/json

canvas

string

A canvas the person owns, to share live.

  • minLength: 12
  • maxLength: 12

chat

string

A chat of the person's, given with turn: its answer to share.

  • minLength: 12
  • maxLength: 12

tile

ref

A tile's call, to share as it is now: one of HUD's read tools a tile draws.

turn

integer

The answer's turn in the chat (chatDefs#message's turn).

  • minimum: 1

Output

application/json

Errors

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 match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.