place.hud.getChatApp
A version of an app artifact of one of the person's chats, as getAppPreview answers a preview: by is the person, url its document, /frame/chat/<chat>/<key>/<version>, run as a preview is (its entries read, never written). Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3kx77qmgdju |
| Indexed |
Showing version bafyreiebb57tpej6f4ekuf4je3se4fqtevyuqgrxe4ggfxwthls6gwawr4. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A version of an app artifact of one of the person's chats, as getAppPreview answers a preview: by is the person, url its document, /frame/chat/<chat>/<key>/<version>, run as a preview is (its entries read, never written). Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.",
"errors": [
{
"description": "No chat of this id is the person's, or it has no such app or version.",
"name": "NotFound"
},
{
"description": "No live web session or HUD access token: sign in.",
"name": "AuthRequired"
},
{
"description": "The person's PDS, where the chat is kept, could not be read.",
"name": "UpstreamFailure"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"accept": {
"description": "The files its kinds take, as place.hud.getFrameApp answers them; left out where it takes none.",
"items": {
"ref": "place.hud.getFrameApp#file",
"type": "ref"
},
"type": "array"
},
"app": {
"description": "The published app it would replace, whose entries it reads, if any.",
"format": "at-uri",
"type": "string"
},
"by": {
"description": "Who made it.",
"ref": "place.hud.defs#actor",
"type": "ref"
},
"icon": {
"description": "Its icon's address, through HUD's blob proxy.",
"format": "uri",
"type": "string"
},
"kinds": {
"description": "Its kinds of entry, each one place.hud.createAppEntry writes.",
"items": {
"ref": "place.hud.getFrameApp#kind",
"type": "ref"
},
"type": "array"
},
"name": {
"maxLength": 64,
"type": "string"
},
"origins": {
"description": "The origins it loads pictures and audio from, as place.hud.getFrameApp answers them; left out where it names none.",
"items": {
"ref": "place.hud.app#origin",
"type": "ref"
},
"maxLength": 8,
"type": "array"
},
"reads": {
"description": "The public collections it reads beyond its entries, as place.hud.getFrameApp answers them; left out where it names none.",
"items": {
"ref": "place.hud.app#collection",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"summary": {
"maxLength": 300,
"type": "string"
},
"url": {
"description": "Its document's path on this server, /frame/preview/<id>.",
"maxLength": 128,
"type": "string"
},
"words": {
"description": "Its words in the language asked for, each it lacks in English: an object of {text, note} by key.",
"type": "unknown"
},
"writers": {
"description": "Who may write its entries, as place.hud.getFrameApp answers them; left out where anyone may.",
"items": {
"ref": "place.hud.defs#actor",
"type": "ref"
},
"maxLength": 200,
"type": "array"
},
"writes": {
"description": "The collections it writes beyond its entries, as place.hud.getFrameApp answers them; left out where it names none.",
"items": {
"ref": "place.hud.app#collection",
"type": "ref"
},
"maxLength": 8,
"type": "array"
}
},
"required": [
"name",
"by",
"kinds",
"url",
"words"
],
"type": "object"
}
},
"parameters": {
"properties": {
"artifact": {
"description": "The artifact's key.",
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"chat": {
"maxLength": 12,
"minLength": 12,
"type": "string"
},
"lang": {
"description": "The language its words are wanted in, as en or pt-BR.",
"maxLength": 35,
"type": "string"
},
"version": {
"description": "Its version; its latest by default.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"chat",
"artifact"
],
"type": "params"
},
"type": "query"
}
},
"description": "An app a chat made, as its page shows it.",
"id": "place.hud.getChatApp",
"lexicon": 1
}