Hello,
I try to use the REST API for browsing and making queries.
I have not found the definition for the different uri’s.
When I try to submit the command from the documentation :
curl volumio.local/api/v1/browse?uri
(or “volumio.local/api/v1/browse?uri=radio/favourites” and others … )
I got only:
How can I make queries, have not found the syntax for “searchquery” ?:
curl volumio.local/api/v1/search?query=searchquery
Thank you for your response
Jean Anton
I have exactly the same problem: I have my volumio device at address 192.168.0.25, and if I do:
curl "http://192.168.0.25:3000/api/v1/commands/browse?uri=radio"
or
curl "http://192.168.0.25:3000/api/v1/commands/browse?uri='radio'"
or
curl "http://192.168.0.25:3000/api/v1/browse?uri=radio"
or
curl "http://192.168.0.25:3000/api/v1/browse?uri='radio'"
I receive just a:
Found. Redirecting to /
message, but not a JSON response with the list of radios, as expected. Tested it also in localhost, but receive the same response.
This is because we updated the docs but the new REST apis are not available yet to all the builds.
You can try the experimental build for PI:
experimental-volumio-build-for-raspberry-t12640.html
Tried that image in my RPi 1B, but it fails to boot after resizing the card (check the attached picture), just the same than with the current stable release. Are the new versions of volumio incompatible with version 1 of Raspberry Pi?