Welcome to our Forums!

Type /register while in-game to register for a forum account.

Suggestion personal Town Infomation API

Error110

Member
personal town based api endpoints this would use a api token which is linked to the persons identity object ID using this token could let you use the following potential endpoints

/voidstorage/search/findByType
find infomation on your towns void storages based on

/voidstorage/findall
list all void storages in the town and info about them

/townescrow
list all items in the town escrow

/spawnescrow
list all items in personal escrow

/townchat
a possible post and get endpoint to get town chat a other way then from discord or ingame could also be useful to post chat msgs with it aswell

you could also make it so people can post town commands using it could be cool but that adds risk the stuff above is just get data im unsure how difficault this would be depending on the backend of loka but by how orgenised the current API data is im sure it wouldnt be too hard however I might be incorrect.

finnaly with a way to create a token it could be as simple as a command ingame to link it to the ID but I think should prob be some security issues with that so might be better to do it personally.
 

Error110

Member
o I forgot also mb a endpoint to show data from the feather for the town in 1 spot could be cool but that sounds like a pain
 
Back
Top