20150730 - extra data in track responses

2 views
Skip to first unread message

Dan Gravell

unread,
Jul 30, 2015, 11:20:15 AM7/30/15
to OneMusicAPI private beta
The primary new features in this release are more data added into track responses. The new data are:

- Media info (track listings) for each release for a track
- Release "types", e.g compilation, album
- 'Composers' meaning song-writers or classical composers have been added to the track object
- The position of a track within a release (medium and track number) are identified

An example recording record now:

    {
        "title": "Movin’ On Up",
        "artists": [
            "Primal Scream"
        ],
        "releases": [
            {
                "title": "Dixie-Narco EP",
                "artist": "Primal Scream",
                "year": "1992",
                "media": [
                    {
                        "totalDiscs": "1",
                        "position": "1",
                        "tracks": [
                            {
                                "title": "Movin' on Up",
                                "number": "1",
                                "artists": [
                                    "Primal Scream"
                                ]
                            },
                            {
                                "title": "Stone My Soul",
                                "number": "2",
                                "artists": [
                                    "Primal Scream"
                                ]
                            },
                            {
                                "title": "Carry Me Home",
                                "number": "3",
                                "artists": [
                                    "Primal Scream"
                                ]
                            },
                            {
                                "title": "Screamadelica",
                                "number": "4",
                                "artists": [
                                    "Primal Scream"
                                ]
                            }
                        ]
                    }
                ],
                "images": [
                    ...
                ],
                "uris": [
                ],
                "position": {
                    "medium": "1",
                    "track": "1"
                },
                "types": [
                    "EP"
                ],
                "score": 1
            },
            ...
        ],
        "uris": [
        ],
        "composers": [
            "Bobby Gillespie",
            "Andrew Innes",
            "Robert Young"
        ]
    },....

The track endpoint has also been optimised for performance.


Dan
Reply all
Reply to author
Forward
0 new messages