summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatyja Lukas Adam <lukas.matyja@students.bfh.ch>2023-12-17 17:38:47 +0100
committerMatyja Lukas Adam <lukas.matyja@students.bfh.ch>2023-12-17 17:38:47 +0100
commitc1483c75bf0aa751381f35e1230e01285d058f53 (patch)
tree8da486b042027f14af5513aa4cdcbcfd24ef7af3
parent41704b469cc716a8148b648c40f7fe218a16b13b (diff)
downloaddocs-c1483c75bf0aa751381f35e1230e01285d058f53.tar.gz
docs-c1483c75bf0aa751381f35e1230e01285d058f53.tar.bz2
docs-c1483c75bf0aa751381f35e1230e01285d058f53.zip
donau - small API changes
-rw-r--r--core/api-donau.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/api-donau.rst b/core/api-donau.rst
index 8c4b3474..be4f8db9 100644
--- 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:**