By chance, could you add some routes ? I would love to have /chest /sign and /block
Also, I don’t find how to access player inventory using route /player/uuid, can someone help me ?
By chance, could you add some routes ? I would love to have /chest /sign and /block
Also, I don’t find how to access player inventory using route /player/uuid, can someone help me ?
Hey @Keuterio I’m currently working on some new routes.
I believe /chest and /sign already exist, those are both tile entities, and are listed in /tile-entity.
What exactly would you want from /block? information about one specific block at a location, or more like, the location of all diamond blocks?
I have added the player inventory to the default output of the /player/uuid route in the upcoming v3 of the plugin.
Thanks for this complete answer, I couldn’t use webapi with Sponge 5.2 but it was all ok with 5.1. I don’t plan to switch to API 6 soon.
Great, I have to try out in a better querying page, the answer is definitely in /tile-entity
I would like to get and set a block but my goal sounds more like a schematic pasting : I want to save an array of blocks and replace it with an other one.
can’t wait for v3 ! Will it be for API 5.2 ?
Edit : I can’t find about web-hook, where is it in the doc ?
A new version has been released for Web-API, it is available for download here.
/block
endpoint to query & set blocks in the world/cmd
endpointA new version has been released for Web-API, it is available for download here.
/block
endpoint to query & set blocks in the world/cmd
endpointAdded in version 3
I targeted Sponge 6.0 and 5.2 in v3. The 5.2 version should also work for 5.1.
Check Web-API [v4] - AdminPanel & RESTful web server [now with screenshots!] - #55 by Valandur for more information
A new version has been released for Web-API, it is available for download here.
A new version has been released for Web-API, it is available for download here.
I tried this version with latest 5.2 API, both vanilla and forge (fresh install) but it threw a lot of errors, here is one of them : https://pastebin.com/HpSA3pye
Dont mind the folder name “test 1.11”, it was a 1.10.2 server with forge-1.10.2-12.18.3.2281-universal.jar
and mods/spongeforge-1.10.2-2281-5.2.0-BETA-2274.jar
as well as mods/webapi-3.0.1-S5.2.jar
, that’s all.
A new version has been released for Web-API, it is available for download here.
A new version has been released for Web-API, it is available for download here.
Yes you did, fast fixing, thanks
Let’s have some fun now !
A new version has been released for Web-API, it is available for download here.
A new version has been released for Web-API, it is available for download here.
A new version has been released for Web-API, it is available for download here.
A new version has been released for Web-API, it is available for download here.
A new version has been released for Web-API, it is available for download here.