You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configuration.md
+39-3Lines changed: 39 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,15 @@
3
3
## Main Endpoint
4
4
**/api/config/properties**
5
5
6
-
As we don't have yet an use case to iterate over all the configuration properties the main endpoint is not implemented and a 405 error code is returned according to our [general error response codes](README.md#Error codes).
6
+
As we don't have yet an use case to iterate over all the configuration properties the main endpoint is not implemented and a 405 error code is returned according to our [general error response codes](README.md#Error-Codes).
7
7
8
8
## Single property
9
9
**/api/config/properties/<:property>**
10
10
11
11
This endpoint provides functionality to retrieve certain (configurable) configuration properties.
12
12
The DSpace server will have a whitelist of properties that can be retrieved by this endpoint.
13
13
14
+
For example:
14
15
15
16
```json
16
17
{
@@ -21,5 +22,40 @@ The DSpace server will have a whitelist of properties that can be retrieved by t
21
22
}
22
23
```
23
24
24
-
* 200 OK - if the operation succeed
25
-
* 404 Not found - if the property doesn't exist or isn't configured to be retrieved
25
+
* 200 OK - if the operation succeeded
26
+
* 404 Not found - if the property doesn't exist or isn't configured to be exposed
0 commit comments