Data/music-api/v1.1/release/credits

Jump to: navigation, search

Release/Credits

Returns the names and roles of the people, groups, and organizations that contributed to a release.

Syntax

release/credits? eanid=eanid
upcid=upcid
amgpopid=amgpopid
releaseid=releaseid
amgclassicalid=amgclassicalid
&apikey=apikey&sig=sig [&format=format] [&offset=offset] [&count=count] [&country=country] [&language=language]

Request Example 1

Request the production credits for a release of Tan Dun: Ghost Opera.

Request Example 2

Request the first five production credits for the release.

Request Example 3

Request the next five production credits.

Request Parameters

Sort none.gif  Click to re-sort

Parameter Required Description
apikey Yes Access code that authorizes your request for data from Rovi.
sig Yes A calculated, 32-hex-digit authorization code. To perform the calculation, execute the MD5 function on the concatenation of the following three ASCII strings:
  • Your API key.
  • The secret key you received with your API key.
  • The Unix time. Unix time is a timestamp supported in most development environments, and is generally defined as the number of seconds since January 1, 1970 00:00:00 GMT.

Express the alpha hex digits as lower case.

Perform the calculation at the time of each request to be sure it's within a five-minute window of the server time. If you're testing the call in a browser, use our online signature generator to perform the calculation.

amgclassicalid Conditional All Media Guide (AMG) ID for a classical music album, consisting of a ten-character string that starts with W and is followed by nine digits with leading spaces. For example: W   180317. When using an AMG Classical ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: W+++180317. AMG is a legacy database of entertainment information.

Condition: The request must contain just one of these parameters:

  • eanid
  • upcid
  • releaseid   
  • amgpopid
  • amgclassicalid
amgpopid Conditional All Media Guide (AMG) ID for a popular music album, consisting of a ten-character string that starts with R and is followed by nine digits with leading spaces. For example: R  1805889. When using an AMG Pop ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: R++1805889.

Condition: The request must contain just one of these parameters:

  • eanid
  • upcid
  • releaseid   
  • amgpopid
  • amgclassicalid
eanid Conditional The numbers from the EAN barcode that identifies the release.

Condition: The request must contain just one of these parameters:

  • eanid
  • upcid
  • releaseid   
  • amgpopid
  • amgclassicalid
releaseid Conditional Rovi Music ID for the release, consisting of the prefix MR followed by a ten-digit number. Your application can grab release IDs from responses to the following requests:

Condition: The request must contain just one of these parameters:

  • eanid
  • upcid
  • releaseid   
  • amgpopid
  • amgclassicalid
upcid Conditional The numbers from the barcode that identifies a music release:
  • 14 digits for music downloads
  • Fewer than 14 digits for CDs, DVDs, and other physical products

Condition: The request must contain just one of these parameters:

  • eanid
  • upcid
  • releaseid   
  • amgpopid
  • amgclassicalid
count No Number of items to be returned. The default is zero, which returns all items after the offset.
country No Country the language parameter applies to. The current release of the API supports only US.
format No Format of the returned data: json or xml. The default is JSON.
language No Language of the response data. This request supports only en (English).
offset No Number of items at the start of the available data to skip. The default is zero.

Use count and offset to paginate the data that is available to be returned.

Response

Response Header

ResponseTypeDescription
buildstringThe software release level of the API.
codeintegerHTTP status code. See the status field for the text part of the code.
durationintegerServer processing time in milliseconds. The difference between startTime and endTime.
endTimestringWhen the server sent the response (UTC time).
messagesMessage [ ]Elements of a multiple HTTP response status message.
parametersparametersThe parameters that were included in the request.
parentIdsparentIdsAll of the IDs for the requested object that are recognized by the API.
serverNamestringName of the server that processed the request.
startTimestringWhen the server received the request (UTC time).
statusstringText part of the HTTP status code, which is shown in the code field.
viewviewSummary of items returned in a list of items.

Response for Release/Credits

ResponseTypeDescription
credits AlbumCredit [ ] Roles performed in the production of the release specified in the request.

JSON Response Example

Here's the response to Request Example 2, which asks for the first five production credits for a release of Tan Dun: Ghost Opera. The response is formatted with extra spaces and carriage returns to make it easy to read.
Requested with http://api.rovicorp.com/data/v1.1/release/credits?apikey=apikey&sig=sig&
releaseid=MR0002392414&count=5
.
{
  "status":"ok",
  "code":200,
  "messages":null,
  "build":"1.5.1.9",
  "parameters":{
    "apiKey":"apikey",
    "id":"MR0002392414",
    "offset":0,
    "count":5
  },
  "view":{
    "offset":0,
    "count":5,
    "total":14
  },
  "serverName":"tul1cssw4",
  "startTime":"2011-04-28T01:12:13.7807937Z",
  "endTime":"2011-04-28T01:12:13.7964188Z",
  "duration":15,
  "parentIds":{
    "albumId":"MW0001145279",
    "amgClassicalId":"W   17244",
    "amgPopId":"R  518192",
    "releaseId":"MR0002392414",
    "upcId":"075597944525"
  },
  "credits":[
    {
      "id":"MN0000073977",
      "name":"Hank Dutt",
      "credit":"Unknown Contributor Role, Gong, Viola, Cymbals, Vocals, Water Bowl",
      "type":"I"
    },
    {
      "id":"MN0002134410",
      "name":"Donald Hamilton",
      "credit":"Soprano Trombone",
      "type":"I"
    },
    {
      "id":"MN0000212599",
      "name":"David Harrington",
      "credit":"Cymbals, Mastering, Vocals, Water Bowl, Violin, Gong, Lute, Unknown Contributor Role",
      "type":"I"
    },
    {
      "id":"MN0000095525",
      "name":"Chris Haynes",
      "credit":"Assistant Engineer",
      "type":"I"
    },
    {
      "id":"MN0002191451",
      "name":"Joan Heanrenaud",
      "credit":"Cello, Gong, Vocals, Water Bowl",
      "type":"I"
    }
  ]
}

XML Response Example

Here's an XML response to Request Example 2, which asks for the first five production credits for a release of Tan Dun: Ghost Opera.
Requested with http://api.rovicorp.com/data/v1.1/release/credits?apikey=apikey&sig=sig&
releaseid=MR0002392414&count=5&format=xml
.
<ReleaseCredits xmlns="com.rovicorp.metadataservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <status>ok</status>
  <code>200</code>
  <messages i:nil="true"/>
  <build>1.5.1.9</build>
  <parameters>
    <apiKey>apikey</apiKey>
    <id>MR0002392414</id>
    <offset>0</offset>
    <count>5</count>
    <format>xml</format>
  </parameters>
  <view>
    <offset>0</offset>
    <count>5</count>
    <total>14</total>
  </view>
  <serverName>tul1cssw1</serverName>
  <startTime>2011-04-28T01:12:46.8087631Z</startTime>
  <endTime>2011-04-28T01:12:46.8243882Z</endTime>
  <duration>15</duration>
  <parentIds>
    <albumId>MW0001145279</albumId>
    <amgClassicalId>W 17244</amgClassicalId>
    <amgPopId>R 518192</amgPopId>
    <releaseId>MR0002392414</releaseId>
    <upcId>075597944525</upcId>
  </parentIds>
  <credits>
    <AlbumCredit>
      <id>MN0000073977</id>
      <name>Hank Dutt</name>
      <credit>Unknown Contributor Role, Gong, Viola, Cymbals, Vocals, Water Bowl</credit>
      <type>I</type>
    </AlbumCredit>
    <AlbumCredit>
      <id>MN0002134410</id>
      <name>Donald Hamilton</name>
      <credit>Soprano Trombone</credit>
      <type>I</type>
    </AlbumCredit>
    <AlbumCredit>
      <id>MN0000212599</id>
      <name>David Harrington</name>
      <credit>Cymbals, Mastering, Vocals, Water Bowl, Violin, Gong, Lute, Unknown Contributor Role</credit>
      <type>I</type>
    </AlbumCredit>
    <AlbumCredit>
      <id>MN0000095525</id>
      <name>Chris Haynes</name>
      <credit>Assistant Engineer</credit>
      <type>I</type>
    </AlbumCredit>
    <AlbumCredit>
      <id>MN0002191451</id>
      <name>Joan Heanrenaud</name>
      <credit>Cello, Gong, Vocals, Water Bowl</credit>
      <type>I</type>
    </AlbumCredit>
  </credits>
</ReleaseCredits>


See Also

↑ Top

Personal tools