Skip to content

Request/response refactors

Ian requested to merge request-refactors into master
  • Moved to the new request/response structure. All requests now make use of this structure. The deprecated APIs have been removed.
  • A number of requests have been changed in order to improve the overall structure.
  • Support for the player data endpoint via UserDataRequest, which returns UserData. This allows for multiple types of data to be obtained for a player from a centralised location.
  • Permissions commands have been simplified and improved. Group management moved to /groups, and a /groups view command now exists.
  • Specific punishment data can be viewed now with /l, using the punishment number - /l <username> [<number>]. Omitting the number will retrieve the list as normal. The number is that which appears on the list output.
  • Simplified showing display names for Users.
  • Wherever a response refers to a username and UUID, a User takes its place. This makes the structure more logical, consistent and simpler.
  • For full details, see commits.

Merge request reports