v1

latestOpenAPI 3.0.0Apache 2.02026-07-17223.1 KB
Users

fetch a song by id

By passing in the appropriate options, you can search for available inventory in the system

get/v1/songs?id

Query parameters

idstring required

pass an optional song Id

Response

search results matching criteria

idnumber required
namestring required
playCountnumber
releaseDatestring date-time
playTimeSecsnumber
linkstring

Example response

[
  {
    "id": 2,
    "name": "Poker Face",
    "playCount": 2358293,
    "releaseDate": "2016-08-29T09:12:33.001Z",
    "artist": {
      "name": "Lady Gaga",
      "homePage": "https://www.ladygaga.com/"
    },
    "playTimeSecs": 134,
    "link": "/storage/songs/poker.mp3"
  }
]
All 2 operations