place.hud.getAppPreview
A preview kept by place.hud.previewApp, as getFrameApp answers a published app: by is whoever made it. No auth required: its id is 128 random bits, kept 30 minutes.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3kx77pkx5ju |
| Indexed |
Showing version bafyreifdyqdplwodzsvhkfcklsl3ec7phopp6uvcpmhi7vxyp5scgkf7yu. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A preview kept by place.hud.previewApp, as getFrameApp answers a published app: by is whoever made it. No auth required: its id is 128 random bits, kept 30 minutes.",
"errors": [
{
"description": "No preview of this id: never one, or past its 30 minutes.",
"name": "NotFound"
},
{
"description": "The input is not what the method takes.",
"name": "InvalidRequest"
}
],
"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": {
"lang": {
"description": "The language its words are wanted in, as en or pt-BR.",
"maxLength": 35,
"type": "string"
},
"preview": {
"description": "The preview's id.",
"maxLength": 26,
"minLength": 26,
"type": "string"
}
},
"required": [
"preview"
],
"type": "params"
},
"type": "query"
}
},
"description": "A frame app's preview.",
"id": "place.hud.getAppPreview",
"lexicon": 1
}