From 8c2a30988756f26b5acd26a3a14a42a5c689daf2 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Tue, 16 Aug 2022 21:25:18 +0200 Subject: [PATCH] server: update README --- server/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/README.md b/server/README.md index 506b009..4860d47 100644 --- a/server/README.md +++ b/server/README.md @@ -6,11 +6,11 @@ exist: in the [SpaceAPI directory](https://github.com/SpaceApi/directory) - `GET status-s.php`: returns `true` if space is open, `false` if closed. Called by discourse theme and serendipity. -- `GET update.php`: updates the current open status, called by the wood box with two fat buttons +- `POST update.php`: updates the current open status, called by the wood box with two fat buttons ("2fb"). - `POST ping.php`: requests a "spaceping". Called by the [matrix bot](https://git.it-syndikat.org/IT-Syndikat/its-matrix-bot). -- `GET ping-get.php`: returns `true` if a ping request is pending, then resets the request. Called +- `POST ping-get.php`: returns `true` if a ping request is pending, then resets the request. Called by 2fb. All endpoints except for `status[-s].php` require an API key to be passed via the `apikey=` GET