Users
searches song database
Changed onBy passing in the appropriate options, you can search for available inventory in the system
get/v1/songs/?q
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
qstring
the search query
limitinteger
maximum number of records to return
Response
search results matching criteria
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"
}
]Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking