jackdevoful
New Member
Hi, I am trying to make a personal IOS interface for the sinusbot API - let me know if not allowed - but I have two questions:
1. Why is there a pause playback option but not a resume playback? Is there any API function to resume playback?
2. When trying to add a job to the bot by using http://127.0.0.1:8087/api/v1/bot/jobs or alternatively trying to add a URL file http://127.0.0.1:8087/api/v1/bot/url I get a 406 error.
My raw request looks something like this:
POST /api/v1/bot/url HTTP/1.1
Authorization: Bearer tokenhere
Host: 127.0.0.1
Content-Type: application/json
Content-Length: 40
{"url": "https://youtube.com/somevideo"}
Thanks for any help!
1. Why is there a pause playback option but not a resume playback? Is there any API function to resume playback?
2. When trying to add a job to the bot by using http://127.0.0.1:8087/api/v1/bot/jobs or alternatively trying to add a URL file http://127.0.0.1:8087/api/v1/bot/url I get a 406 error.
My raw request looks something like this:
POST /api/v1/bot/url HTTP/1.1
Authorization: Bearer tokenhere
Host: 127.0.0.1
Content-Type: application/json
Content-Length: 40
{"url": "https://youtube.com/somevideo"}
Thanks for any help!