website api =========== API powering the website tanjim.org (or pages.tanjim.org) MESSAGES -------- public endpoints: POST /sendmsg send a message, args: message:string the message priority:boolean true if high priority output: ok:boolean protected endpoints: these all use a token argument, i did not mention them here POST /getall get all messages, args: (none except for token) outputs everything POST /new new unread messages, args: id:int id of the message you last read POST /mark mark messages, args: start:int end:int optional if not provided, does it for one message type:string "notified", "read" value:boolean mark or unmark POST /delete delete messages, args: start:int end:int optional if not provided, does it for one message GET /webui?token= access a web UI, does not take any args uses urlsearchparams for token.