diff --git a/README.md b/README.md index 0f2fb30..c315a73 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,9 @@ A small chat box API for use on public websites. ## API -- init: takes a username returns `init_scrollback` previous messages, a sync rate, and a client identifier, or an error if username exists/is not allowed +- init: takes a cookie, returns a session if exits, else requests new session. +- channels: returns a list of channels and a preview message for each +- join: takes a username and channel, returns `init_scrollback` previous messages, a sync rate, and a client identifier, or an error if username exists/is not allowed, or channel does not exist - sync: takes a client identifier and returns all unseen messages - send: sends a message, returns a status - login: accepts password, gives client admin perms if password is correct