place.stream.live.getRecommendations

Get the list of streamers recommended by a user

Repository @stream.place did:plc:rbvrr34edl5ddpuwcubjiost not from the namespace authority
Details · query
Kindquery
Authoritylive.stream.place
Indexed

Showing version bafyreib2ggzcfz2bdbc43kpo4ogf2ebs26jtzfu5ecl2ancoufs3l7tgey. Show the latest

cid bafyreib2ggzcfz2bdbc43kpo4ogf2ebs26jtzfu5ecl2ancoufs3l7tgey

Checks

Valid
  • unlimited-string defs.livestreamRecommendation.properties.sourceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "livestreamRecommendation": {
      "properties": {
        "did": {
          "description": "The DID of the recommended streamer",
          "format": "did",
          "type": "string"
        },
        "source": {
          "description": "Source of the recommendation",
          "enum": [
            "streamer",
            "follows",
            "host"
          ],
          "type": "string"
        }
      },
      "required": [
        "did",
        "source"
      ],
      "type": "object"
    },
    "main": {
      "description": "Get the list of streamers recommended by a user",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "recommendations": {
              "description": "Ordered list of recommendations",
              "items": {
                "refs": [
                  "#livestreamRecommendation"
                ],
                "type": "union"
              },
              "type": "array"
            },
            "userDID": {
              "description": "The user DID this recommendation is for",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "recommendations"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "userDID": {
            "description": "The DID of the user whose recommendations to fetch",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "userDID"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "place.stream.live.getRecommendations",
  "lexicon": 1
}