# 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.

- Kind: query
- Authority: video.getorbyt.com
- Lexicon: 1
- Published by [getorbyt.com](https://lexicon.garden/identity/did:plc:2xrqztnmzlckb3xfuuukupso), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.video.getMixExplanation)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.video.getMixExplanation/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.video.getMixExplanation/analytics)

## Query (`com.getorbyt.video.getMixExplanation`)

Type: query · GET

### Parameters (query string)

- `community` (string · at-uri): The Channel the Mix showed this video for (its mixReason community), if any.
- `generator` (string · at-uri): The generator the Mix item came from (its generator), if any.
- `post` (string · at-uri, required)

### Output (application/json)

- `actions` (array, required)
  - Constraints: maxLength: 4
  - `items` (ref)
    - Reference: `#action`
- `message` (string): A line under the title, where the path alone doesn't say it.
  - Constraints: maxLength: 200
- `path` (ref, required)
  - Reference: `#path`
- `title` (string, required)
  - Constraints: maxLength: 100
- `tune` (ref)
  - Reference: `#tune`

### Errors

- `AuthenticationRequired`: No description in schema.
- `InvalidRequest`: No description in schema.
- `MethodNotImplemented`: Mix tuning is not live for this account.

## #action (`com.getorbyt.video.getMixExplanation#action`)

Type: object

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` (string, required)
  - Constraints: knownValues: openTuning
- `avatars` (array)
  - Constraints: maxLength: 3
  - `items` (string · uri)
- `title` (string, required)
  - Constraints: maxLength: 100

## #node (`com.getorbyt.video.getMixExplanation#node`)

Type: object

### Properties

- `avatar` (string · uri)
- `label` (string, required)
  - Constraints: maxLength: 100
- `note` (string)
  - Constraints: maxLength: 100

## #path (`com.getorbyt.video.getMixExplanation#path`)

Type: object

How the video reached the viewer, drawn left to right. `summary` says the whole path for assistive technologies.

### Properties

- `from` (ref, required)
  - Reference: `#node`
- `summary` (string, required)
  - Constraints: maxLength: 300
- `to` (ref, required)
  - Reference: `#node`
- `via` (ref)
  - Reference: `#via`

## #person (`com.getorbyt.video.getMixExplanation#person`)

Type: object

### Properties

- `avatar` (string · uri)
- `did` (string · did, required)
- `name` (string, required)
  - Constraints: maxLength: 200

## #side (`com.getorbyt.video.getMixExplanation#side`)

Type: object

### Properties

- `done` (string, required): What the notice says once this side is turned on, offering Undo.
  - Constraints: maxLength: 100
- `onSubtitle` (string): Under the title while this side is on.
  - Constraints: maxLength: 100
- `stopped` (string, required): What the notice says once this side is turned off, offering Undo.
  - Constraints: maxLength: 100
- `subtitle` (string): Under the title while this side is off.
  - Constraints: maxLength: 100
- `title` (string, required)
  - Constraints: maxLength: 40

## #tune (`com.getorbyt.video.getMixExplanation#tune`)

Type: object

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, required)
  - Reference: `#side`
- `more` (ref, required)
  - Reference: `#side`
- `signal` (string): The side that is on, if either.
  - Constraints: knownValues: more | less

## #via (`com.getorbyt.video.getMixExplanation#via`)

Type: object

The people the viewer follows behind the video. Tapping their faces lists them, each opening their profile.

### Properties

- `count` (integer, required): How many people are behind it; `people` may hold fewer.
  - Constraints: minimum: 0
- `label` (string, required)
  - Constraints: maxLength: 100
- `note` (string)
  - Constraints: maxLength: 100
- `people` (array, required)
  - Constraints: maxLength: 8
  - `items` (ref)
    - Reference: `#person`

## Schema

```json
{
  "$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
}
```
