• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

API Problem

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!
 
Top