ContentResponse (JSON)

Base object used in most APIs that return media content.

ContentResponse

The ContentResponse object has the following specification.

Member Type Description
Error Error Optional error.
Artists List of Artist A paginated list of Artists that matched the request criteria.
Albums List of Album A paginated list of Albums that matched the request criteria.
Tracks List of Track A paginated list of Tracks that matched the request criteria.
Playlists List of Playlist A paginated list of Playlists that matched the request criteria.
Results List of ContentItem A paginated list of ContentItems that matched the request criteria. These items are used for ordered lists mixing multiple types of content such as the Spotlight and NewReleases APIs.
CatalogGenres List of Genre A list of musical genres on a given locale. Used in the Browse Genres API.
Culture string The culture used for processing the Browse Genres request, computed from Country and Language parameters, user authentication and/or geolocation.
Activities List of Activity A list of Activities representing the different possible activities for a given locale. Used in the Browse Activities API.
Moods List of Mood A list of Moods representing the different possible moods for a given locale. Used in the Browse Moods API.
Radios List of Radio A list of recently played radios. Retrieved from the Recently Played Radios API.

Sample JSON syntax

{
  "Artists": {
    "Items": [
      {
        "Genres": [
          "Electronic / Dance"
        ],
        "Subgenres": [
          "Dance"
        ],
        "Id": "music.C61C0000-0200-11DB-89CA-0019B92A3933",
        "Name": "Daft Punk",
        "ImageUrl": "https://musicimage.xboxlive.com/content/music.C61C0000-0200-11DB-89CA-0019B92A3933/image?locale=en-US",
        "Link": "https://music.microsoft.com/Artist/C61C0000-0200-11DB-89CA-0019B92A3933?partnerID=AwesomePartner",
        "OtherIds": {
          "music.amg": "P   168791"
        },
        "Source": "Catalog",
        "CompatibleSources": "Catalog, Collection"
      }
    ]
  }
}

Parent

Groove Service REST Reference