GET ​/api​/v3​/account​/me​/genregroupstations

Returns the genre_group stations based on the genre preferences of the user.

Request

Example Request

{
  "auth_token": "770a077e6f739c9aaea85241652b0ff558dd8ced5cda4fc57c6fc1901a941a1"
}

Example Parameters

  • auth_token: The user's authentication token, retreived by logging in.
    • Required: no
    • Type: string
    • Example: 770a077e6f739c9aaea85241652b0ff558dd8ced5cda4fc57c6fc1901a941a1

Response

Example Response

{
  "genre_group_stations": [
    {
      "id": 1,
      "title": "Top Voted Rock",
      "subtitle": "Featuring artists like Foo, Bar, and Baz",
      "banner_url": "http://example.com/banner",
      "station_type": "PopularBandsByGenreGroup",
      "photos": [
        {
          "id": 1,
          "small_hq": {
            "url": "https://deliradio.s3.amazonaws.com/uploads/picture/band/2/1/preview_retina_673e03ba-cc71-4f61-b7ee-f99faaf4ff3a.png"
          }
        }
      ]
    }
  ]
}

Response Parameters

  • genregroupstations: genre group stations ordered by genre preference of user

    • Required: yes
    • Type: array
    • Items station

      • Required: no
      • id: The id of the station
        • Required: yes
        • Type: integer
        • Example: 1
      • title: The title of the station
        • Required: yes
        • Type: string
        • Example: Top Voted Rock
      • subtitle: The subtitle of the station
        • Required: yes
        • Type:
          • null
          • string
        • Example: Featuring artists like Foo, Bar, and Baz
      • banner_url: The url of the station banner
        • Required: yes
        • Type:
          • null
          • string
        • Example: http://example.com/banner
      • station_type: The type of station
        • Required: yes
        • Type: string
        • Example: PopularBandsByGenreGroup
      • photos: A list of photos for the station based on the upcoming artists playing at this station.

        • Required: yes
        • Type: array
        • Items

          • Required: no
          • id: The unique ID of the photo
          • __small_hq__: A retina preview artist photo

Response Codes

Successful Response Codes

  • 200:

Failure Response Codes