place.hud.createCanvas
Make a canvas of the person's, opened as a tab at the end and 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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbje66klju |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Make a canvas of the person's, opened as a tab at the end and 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.",
"errors": [
{
"description": "The input is not what the method takes, or what it asks cannot be done.",
"name": "InvalidRequest"
},
{
"description": "A limit was reached: 50 canvases an owner, 20 members a canvas, 3 tiles a column.",
"name": "LimitReached"
},
{
"description": "No live web session or HUD access token: sign in.",
"name": "AuthRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"name": {
"description": "The canvas's name, one line: spaces collapse.",
"maxGraphemes": 80,
"maxLength": 800,
"minLength": 1,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"canvas": {
"ref": "place.hud.defs#canvasView",
"type": "ref"
}
},
"required": [
"canvas"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Make a canvas.",
"id": "place.hud.createCanvas",
"lexicon": 1
}