place.hud.getFrameApp
A published frame app as its page shows it, read from its author's PDS: its name, what it is, who made it, its kinds of entry and the files they take, where its document is, its icon and its words in a language. One its record or blobs can't be read for, or that this server refuses (HUD_APP_BLOCKS), is not found. No auth required (a session it carries is read only to say whether it is enough to save in the app).
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3kx77r3bfju |
| Indexed |
Showing version bafyreibp3tpiftofwsce6ork57bhul3gvucj5phhmwjslygbk7wsdobude. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"file": {
"description": "A type of file an app takes, and the most bytes one may be.",
"properties": {
"maxSize": {
"maximum": 10000000,
"minimum": 1,
"type": "integer"
},
"mimeType": {
"knownValues": [
"image/jpeg",
"image/png",
"image/webp",
"image/gif",
"audio/mpeg",
"audio/mp4",
"audio/ogg",
"application/octet-stream"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"mimeType",
"maxSize"
],
"type": "object"
},
"kind": {
"description": "One of an app's kinds of entry.",
"properties": {
"name": {
"maxLength": 64,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"main": {
"description": "A published frame app as its page shows it, read from its author's PDS: its name, what it is, who made it, its kinds of entry and the files they take, where its document is, its icon and its words in a language. One its record or blobs can't be read for, or that this server refuses (HUD_APP_BLOCKS), is not found. No auth required (a session it carries is read only to say whether it is enough to save in the app).",
"errors": [
{
"description": "No such app: its record or blobs can't be read, it isn't one HUD runs, or this server took it down.",
"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 (their blob fields), each type once with the largest maxSize any gives it; left out where it takes none. place.hud.uploadAppBlob takes these.",
"items": {
"ref": "#file",
"type": "ref"
},
"type": "array"
},
"app": {
"description": "The app's record, by its author's DID.",
"format": "at-uri",
"type": "string"
},
"by": {
"description": "Who made it.",
"ref": "place.hud.defs#actor",
"type": "ref"
},
"cid": {
"description": "The version of the record read, as its PDS said it.",
"format": "cid",
"type": "string"
},
"icon": {
"description": "Its icon's address, through HUD's blob proxy.",
"format": "uri",
"type": "string"
},
"instances": {
"description": "Whether this server makes private instances of apps (place.hud.createInstance): its page offers one.",
"type": "boolean"
},
"kinds": {
"description": "Its kinds of entry, each one place.hud.createAppEntry writes.",
"items": {
"ref": "#kind",
"type": "ref"
},
"type": "array"
},
"name": {
"maxLength": 64,
"type": "string"
},
"origins": {
"description": "The https origins its document loads pictures and audio from: its frame's policy lets them in img-src and media-src alone. 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 (place.hud.listAppRecords, place.hud.getAppRecords). Left out where it names none.",
"items": {
"ref": "place.hud.app#collection",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"signInAgain": {
"description": "Whether the session the request carries is short of what saving in this app needs (its entries and its files): its page asks to sign in again. Left out signed out.",
"type": "boolean"
},
"summary": {
"maxLength": 300,
"type": "string"
},
"url": {
"description": "Its document's path on this server, /frame/<did>/<rkey>: framed sandboxed, scripts alone.",
"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, where it names them: anyone else's saves are refused. Left out where anyone may.",
"items": {
"ref": "place.hud.defs#actor",
"type": "ref"
},
"maxLength": 200,
"type": "array"
},
"writes": {
"description": "The collections it writes in the person's own repository beyond its entries (place.hud.createAppRecord, place.hud.deleteAppRecord), once they allow it. Left out where it names none.",
"items": {
"ref": "place.hud.app#collection",
"type": "ref"
},
"maxLength": 8,
"type": "array"
}
},
"required": [
"app",
"name",
"by",
"kinds",
"url",
"words"
],
"type": "object"
}
},
"parameters": {
"properties": {
"app": {
"description": "The app's place.hud.app record, its authority a DID or a handle.",
"format": "at-uri",
"type": "string"
},
"lang": {
"description": "The language its words are wanted in, as en or pt-BR: in English where it has none in it.",
"maxLength": 35,
"type": "string"
}
},
"required": [
"app"
],
"type": "params"
},
"type": "query"
}
},
"description": "A frame app HUD serves.",
"id": "place.hud.getFrameApp",
"lexicon": 1
}