Skip to content

Instantly share code, notes, and snippets.

@wallabra
Last active June 10, 2017 22:01
Show Gist options
  • Save wallabra/3523e04f1ec3592f4b2179dafe8f96fa to your computer and use it in GitHub Desktop.
Save wallabra/3523e04f1ec3592f4b2179dafe8f96fa to your computer and use it in GitHub Desktop.
List of possible processes within the SayBale server (e.g. saybale.url/connect) using POST requests.

Ajax POST JSON subpages available in SayBale

SUBPAGES (Ajax) ARGUMENT KEYS RETURN KEYS
disconnect reason
connect nick
sendchat text
getchat logs next continue
setnick newNick continue
adminauth password success
kick other success
kickban banIP success
unban banIP success
getips nickname success ips
userlist users admins

Notes

getchat

  • next is the time recommended until the next ../getchat query.
  • logs may contain formatting which is resolved by client.js in the SayBale website, but it can be ignored.

adminauth

  • password is always a SHA256 hash of the actual password.

kick

  • other is the nickname of the (un)desired user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment