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