-
-
Notifications
You must be signed in to change notification settings - Fork 6
HTTP
ComputerElite edited this page Aug 14, 2021
·
7 revisions
The HTTP endpoints for retrieving Data are as follows,
-
http://[Your Quests ip]:53502/data
will give you the standard json output with all the information. -
http://[Your Quests ip]:53502/positions
will give you saber and head positions as json. May crash the game -
http://[Your Quests ip]:53502/cover/cover.jpg
coverImage as jpg file. -
http://[Your Quests ip]:53502/cover/cover.png
coverImage as png file. -
http://[Your Quests ip]:53502/cover/base64
for receiving the image as jpg encoded in base64 starting with thedata:image/jpg;base64,
header. -
http://[Your Quests ip]:53502/cover/base64/png
for receiving the image as png encoded in base64 starting with thedata:image/png;base64,
header. -
http://[Your Quests ip]:53502/info
Shows the same info as Multicast (mod version, ...) as Json
- Base64 Encoded Images will be sent as
text/html
.
Example data:image/jpg;base64,/9j/4AAQSkZJRgABAQA...=
- The
cover.jpg
andcover.png
endpoints will send the data asimage/filetype
where filetype is the type of the image for exampleimage/jpg