GET (/1/content/{namespace}/catalog/genres)

Get a list of genres available for a locale.

Remarks

The BrowseGenres request is composed of mandatory and optional URL parts and query parameters. A request containing all parameters would resemble the following string:

/1/content/{namespace}/catalog/genres?language={language}&country={country}&accessToken={accessToken}

For parameters common to every Groove RESTful API, see Parameters common to every Groove RESTful API. For a table of error codes, see Error (JSON). For HTTP status codes, see Groove RESTful API HTTP Status Codes.

Response object

ContentResponse (JSON)

Examples

Browse genres

Request

GET /1/content/music/catalog/genres?accessToken=Bearer+[...]

Response

{
  "Genres": [  
    "Blues / Folk",  
    "Christian / Gospel",
    "Classical",
    "Comedy / Spoken Word",
    "Country",
    "Electronic / Dance",
    "Hip Hop",
    "Jazz",
    "Kids",
    "Latin",
    "Pop",
    "R&B / Soul",
    "Reggae / Dancehall",
    "Rock",
    "Soundtracks",
    "World",
    "More"
  ],
  "Culture": "en-US"
}

Browse genres for a specific locale

Request

GET /1/content/music/catalog/genres?country=tr&language=tr&accessToken=Bearer+[...]

Response

{
  "Genres": [
    "Alternatif",
    "Caz",
    "Elektronik / Dans",
    "Film müzikleri",
    "Hip Hop / Soul",
    "Klasik",
    "Pop",
    "Rock",
    "Daha fazla müzik türü"
  ],
  "Culture": "tr-TR"
}

Parent

Groove Service REST Reference