mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
API Update (#876)
This adds some useful functions to the API and redefines the way the params are checked. API Versioning Very important to be able to check from the client if the serverside API is still compatible with the client implementation Refactored Params Mark params as required / optional Different types of params (string / integer / list / select / senderkey) Name and description for params API Function to get all the functions a specific ip/token combo is allowed to use API Function to get details about a specific API function
This commit is contained in:
@@ -21,7 +21,7 @@ CREATE TABLE `ss13_admin_log` (
|
||||
|
||||
CREATE TABLE `ss13_api_functions` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`function` VARCHAR(50) NULL DEFAULT '' COLLATE 'utf8_bin',
|
||||
`function` VARCHAR(50) NOT NULL COLLATE 'utf8_bin',
|
||||
`description` VARCHAR(255) NULL DEFAULT NULL COLLATE 'utf8_bin',
|
||||
PRIMARY KEY (`id`)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user