getRecord

Fetches record metadata.

Request

GET /v3/content-providers/<content provider alias>/records/<record id>?language=<language code>

<content provider alias> The content provider alias ex: Elib3
<record id> The content provider record id ex: 1018016
<language code> The language code ex: en

Response

{
    "id":"<record id>",
    "issues":[{"id":"<issue id>","title":"<issue title>";,"imageUrl":"<issue image url>","formats":[
     {
        "id":"<format id>",
        "name":"<format name>",
        "locked":<is format locked>,
        "description":"<format description>",
        "contentDisposition":"<content disposition>",
        "platforms":["<format platform>","<format platform>"]
     },
     {
         "id":"<format id>",
        "name":"<format name>",
        "locked":<format locked>,
        "description":"<format description>",
        "contentDisposition":"<content disposition>",
        "platforms":["<format platform>","<format platform>"]
    },
    {
         "id":"<format id>",
        "name":"<format name>",
        "locked":<format locked>,
        "description":"<format description>",
        "contentDisposition":"<content disposition>",
        "platforms":["<format platform>","<format platform>"]
    }
    ]
    }]
}
<record id> The content provider record id ex: 1018016
<issue title> The content provider issue title ex: null
<issue image url> The issue image url. ex: null
<format id> The content provider format id ex: 4002
<format name> The content provider format name ex: Audiobook (Flash)
<is format locked> The flag specifying if the content provider format is locked ex: false. The format is locked if after the checkout in this format it is not possible to checkout the e-media in other formats.
<format description> The content provider format description ex: E-audiobook in streaming Flash
<content disposition> The content provider format disposition ex: STREAMING. Only 2 values are supported: STREAMING and DOWNLOADABLE.
<format platform> Format platform supported by the given format (possibly many).

Example request:

GET /v3/content-providers/Elib3/records/1018016?language=en

Example response:

{
    "id":"1018016",
    "issues":[{"id":null,"title":null,"imageUrl":null,"formats":[
     {
        "id":"4002",
        "name":"Audiobook (Flash)",
        "locked":false,
        "description":"E-audiobook in streaming Flash",
        "contentDisposition":"STREAMING",
        "platforms":["DESKTOP"]
     },
     {
        "id":"4003",
        "name":"iOS",
        "locked":false,
        "description":"iOS optimized webplayer",
        "contentDisposition":"STREAMING",
        "platforms":["IOS"]
    },
    {
        "id":"4004",
        "name":"Android",
        "locked":false,
        "description":"Android Optimized webplayer",
        "contentDisposition":"STREAMING",
        "platforms":["ANDROID"]
    }
    ]
    }]
}