place.hud.closeCanvas

Close a canvas's tab: it is put away, kept with its members and tiles. The last open tab is not closed. Closing the current one makes its neighbour current. 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 rev3n3jbje5pa7ju
Indexed

Procedure

procedure · POST

Input

application/json

canvas

requiredstring

A canvas's id: 12 hex digits, its space's key where it is kept in one.

  • minLength: 12
  • maxLength: 12

Output

application/json

current

requiredstring

The canvas current now, one of open.

  • minLength: 12
  • maxLength: 12

open

requiredarray

The canvases open as tabs, in their order.

itemsref
Reference

Errors

NotFound

No canvas of this id that the person is in, or no tile of this id on it.

InvalidRequest

It is the last open tab, or the input is not what the method takes.

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.