Hi,
I'm a heavy user of the new API and therefore I would like to propose some new features and some changes to make the API more consistent.
Changes:
- Summarize all user related stuff among /user
- /user/[UserName]
- /user/[UserName]/stats/[datetime] (currently /userstats/[UserName]/[datetime])
- Split up key (date) and value (online time) of /userstats
- Remove the 'writeProtectedSet' key of /land/[UserName]/[world]
- Change the structure of the object of /shop/[UserName]/[world] to an array of that kind of object:
- { "wallet": <number: accountId>, "shops": <array: shopdata> }
- Change the structure of the object of /server/playerlocations/[world] to an array of that kind of object:
- { "user": <string: uuid>, "pos": <location obj>}
New Features:
- Add an API-endpoint to query UserNames from UUIDs and vice versa for multiple UserNames/UUiDs at once (this is required for /land, /shop, /transaction, /user).
- Add an API-endpoint to gather all transactions of a week/month
= DONE