com.getorbyt.video.getMixExplanation
Why a video is in the viewer's Your Mix, worded by the server for the sheet the app opens from the video's reason: a title, the path the video took to the viewer (from them or their personal feed, through the people they follow, to the video's author or Channel), the More/Less switch for that author or Channel, and links. Pass what the Mix served the video with. Clients draw what they are given and skip what they don't know.
Details · query
| Kind | query |
|---|---|
| Authority | video.getorbyt.com |
| Commit rev | 3n3cuiqjc7527 |
| Indexed |
Checks
Validunlimited-stringdefs.action.properties.actionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tune.properties.signalNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"action": {
"description": "A link under the switch. `openTuning` opens the viewer's tuning (com.getorbyt.video.listMixTuning); `avatars` are up to three faces of what they have tuned, drawn before the title.",
"properties": {
"action": {
"knownValues": [
"openTuning"
],
"type": "string"
},
"avatars": {
"items": {
"format": "uri",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"title": {
"maxLength": 100,
"type": "string"
}
},
"required": [
"action",
"title"
],
"type": "object"
},
"main": {
"description": "Why a video is in the viewer's Your Mix, worded by the server for the sheet the app opens from the video's reason: a title, the path the video took to the viewer (from them or their personal feed, through the people they follow, to the video's author or Channel), the More/Less switch for that author or Channel, and links. Pass what the Mix served the video with. Clients draw what they are given and skip what they don't know.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
},
{
"description": "Mix tuning is not live for this account.",
"name": "MethodNotImplemented"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"actions": {
"items": {
"ref": "#action",
"type": "ref"
},
"maxLength": 4,
"type": "array"
},
"message": {
"description": "A line under the title, where the path alone doesn't say it.",
"maxLength": 200,
"type": "string"
},
"path": {
"ref": "#path",
"type": "ref"
},
"title": {
"maxLength": 100,
"type": "string"
},
"tune": {
"ref": "#tune",
"type": "ref"
}
},
"required": [
"title",
"path",
"actions"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"description": "The Channel the Mix showed this video for (its mixReason community), if any.",
"format": "at-uri",
"type": "string"
},
"generator": {
"description": "The generator the Mix item came from (its generator), if any.",
"format": "at-uri",
"type": "string"
},
"post": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"post"
],
"type": "params"
},
"type": "query"
},
"node": {
"properties": {
"avatar": {
"format": "uri",
"type": "string"
},
"label": {
"maxLength": 100,
"type": "string"
},
"note": {
"maxLength": 100,
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
},
"path": {
"description": "How the video reached the viewer, drawn left to right. `summary` says the whole path for assistive technologies.",
"properties": {
"from": {
"ref": "#node",
"type": "ref"
},
"summary": {
"maxLength": 300,
"type": "string"
},
"to": {
"ref": "#node",
"type": "ref"
},
"via": {
"ref": "#via",
"type": "ref"
}
},
"required": [
"from",
"to",
"summary"
],
"type": "object"
},
"person": {
"properties": {
"avatar": {
"format": "uri",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"name": {
"maxLength": 200,
"type": "string"
}
},
"required": [
"did",
"name"
],
"type": "object"
},
"side": {
"properties": {
"done": {
"description": "What the notice says once this side is turned on, offering Undo.",
"maxLength": 100,
"type": "string"
},
"onSubtitle": {
"description": "Under the title while this side is on.",
"maxLength": 100,
"type": "string"
},
"stopped": {
"description": "What the notice says once this side is turned off, offering Undo.",
"maxLength": 100,
"type": "string"
},
"subtitle": {
"description": "Under the title while this side is off.",
"maxLength": 100,
"type": "string"
},
"title": {
"maxLength": 40,
"type": "string"
}
},
"required": [
"title",
"done",
"stopped"
],
"type": "object"
},
"tune": {
"description": "The More/Less switch for the video's Channel or author, applied with com.getorbyt.video.tuneMix and the same post and community. Tapping the side that is on sends clear.",
"properties": {
"less": {
"ref": "#side",
"type": "ref"
},
"more": {
"ref": "#side",
"type": "ref"
},
"signal": {
"description": "The side that is on, if either.",
"knownValues": [
"more",
"less"
],
"type": "string"
}
},
"required": [
"more",
"less"
],
"type": "object"
},
"via": {
"description": "The people the viewer follows behind the video. Tapping their faces lists them, each opening their profile.",
"properties": {
"count": {
"description": "How many people are behind it; `people` may hold fewer.",
"minimum": 0,
"type": "integer"
},
"label": {
"maxLength": 100,
"type": "string"
},
"note": {
"maxLength": 100,
"type": "string"
},
"people": {
"items": {
"ref": "#person",
"type": "ref"
},
"maxLength": 8,
"type": "array"
}
},
"required": [
"label",
"people",
"count"
],
"type": "object"
}
},
"id": "com.getorbyt.video.getMixExplanation",
"lexicon": 1
}