app.rocksky.artist.getArtists

Get artists

Repository @rocksky.app did:plc:vegqomyce4ssoqs7zwqvgqty namespace authority
Details · query
Kindquery
Authorityartist.rocksky.app
Indexed
cid bafyreigsxw7erda7yv3f6iwm32gidv3jenppxqxv3s5zyxp3vrrivju7cy

Checks

Valid
  • unlimited-string defs.main.parameters.properties.genreNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.namesNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get artists",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "artists": {
              "items": {
                "ref": "app.rocksky.artist.defs#artistViewBasic",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "genre": {
            "description": "The genre to filter artists by",
            "type": "string"
          },
          "limit": {
            "description": "The maximum number of artists to return",
            "minimum": 1,
            "type": "integer"
          },
          "names": {
            "description": "The names of the artists to return",
            "type": "string"
          },
          "offset": {
            "description": "The offset for pagination",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.rocksky.artist.getArtists",
  "lexicon": 1
}