{ "lexicon": 1, "id": "place.hud.unstackTile", "description": "Take a tile out of its stack.", "defs": { "main": { "type": "procedure", "description": "Take a stacked tile out of its column, as a column of its own right after it. 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.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "canvas", "tile" ], "properties": { "canvas": { "type": "string", "minLength": 12, "maxLength": 12, "description": "A canvas's id: 12 hex digits, its space's key where it is kept in one." }, "tile": { "type": "string", "minLength": 12, "maxLength": 12, "description": "The tile." } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "tile" ], "properties": { "tile": { "type": "ref", "ref": "place.hud.defs#tileView" } } } }, "errors": [ { "name": "NotFound", "description": "No canvas of this id that the person is in, or no tile of this id on it." }, { "name": "Forbidden", "description": "The person's role does not allow it: a viewer changes no tile, and only the owner renames, deletes and shares." }, { "name": "InvalidRequest", "description": "It is not stacked, or the input is not what the method takes." }, { "name": "AuthRequired", "description": "No live web session or HUD access token: sign in." } ] } } }