I successfully use the music rest API to fetch cover art, artists and albums, and songs. But if I want to to use rest/download.view or rest/stream.view I get a 404 and the content is a html page. The id I put on the request is fetched before with the API. It has the form: egde:
The url I call looks like https://one.ubuntu.com/music/rest/download.view?u=x&p=x&v=1.2.0&c=bla&id=egde%3A I make a GET call.
In case of a error it should return the content type "text/xml" but it is "text/html"
So it seems the URL isn't known by the server.
What do I wrong and how can I obtain a stream or the file for download via the music rest API?