server.ari web.xyz
1.0.0
random stuff for me to do
api key is stored in a file on the server called pw, same
directory as the app is working in, per average the default
key will be secure enough, although you are free to change it,
change the file, restart the app when you change the api key
none of these routes will work for you if youre ip banned and dont have the admin key to bypass the ban
content
api-key header )
sql ( multiple queries, like data={"sql": [...]} ), backup ( filename )content, author ( reason and the username tied to you IP address )api-key header )content
everything else can be achieved using /sql API, for example for bans you can do like :
INSERT INTO bans (ip) VALUES ("...")or to whitelist someone
SELECT * FROM queue;
-- read the output whoever you want to unban
INSERT INTO whitelist (ip, author) VALUES ("...", "some author");
DELETE FROM queue WHERE author = "some author";...
see this plugin for baz plugin manager to get pre-made CLI tools