commit c1483c75bf0aa751381f35e1230e01285d058f53 parent 41704b469cc716a8148b648c40f7fe218a16b13b Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch> Date: Sun, 17 Dec 2023 17:38:47 +0100 donau - small API changes Diffstat:
| M | core/api-donau.rst | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/core/api-donau.rst b/core/api-donau.rst @@ -500,9 +500,12 @@ Charity administration and status information --------------------------------------------- The administration requests require an authorized bearer token to be set in the HTTP "Authorization" Header. This token can be set by a proxy validating authentication/authorization (using e.g. LDAP). +The GET status requests require an authorized bearer token as well so that only the charities can make these requests. .. http:GET:: /charities +GET all charities. Only allowed if the request comes with the administration bearer token. + return all charities **Request:** @@ -533,6 +536,8 @@ The administration requests require an authorized bearer token to be set in the .. http:get:: /charities/$CHARITY_ID +GET a specific charity. Only allowed if the request comes with the charity or administration bearer token. + Request information about a charity. **Request:**