-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi-config.xml
73 lines (73 loc) · 2.89 KB
/
openapi-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="https://lab.sub.uni-goettingen.de/restxqopenapi">
<info>
<termsOfService>https://example.com/terms-of-use</termsOfService>
<contact>
<email>[email protected]</email>
</contact>
</info>
<servers>
<server url="http://localhost:8984/">Local development server</server>
<server url="https://example.com/">Production server</server>
</servers>
<tags>
<tag name="dicts" method="exclusive">
Query and manipulate dictionaries and the special users "dictionary".
See dict.xqm.
<function name="_:getDicts"/>
<function name="_:createDict"/>
<function name="_:getDictDictName"/>
<function name="_:deleteDictDictName"/>
<function name="_:getDictDictNameDictUsers"/>
<function name="_:createDictBackup"/>
<function name="_:restoreDict"/>
</tag>
<tag name="entries" method="exclusive">
Query and manipulate entries in the dictionary.
See entries.xqm
<function name="_:getDictDictNameEntries"/>
<function name="_:createEntry"/>
<function name="_:changeEntry"/>
<function name="_:changeEntries"/>
<function name="_:getDictDictNameEntry"/>
<function name="_:deleteDictDictNameEntry"/>
</tag>
<tag name="public" method="exclusive">
The public part of the API. No authentication and world-readable
unless the dictionary is restriced or Accept is application/vnd.wde.v2+json
<function name="_:getRoot"/>
<function name="_:getDicts"/>
<function name="_:getDictDictNameDictUsers"/>
<function name="_:getDictDictName"/>
<function name="_:getDictDictNameEntries"/>
<function name="_:getDictDictNameEntry"/>
</tag>
<tag name="users" method="exclusive">
Manipulate the users and user rights for a dictionary. Can also be used by global admin users to manipulate users for any table when used with "dict_users".
See users.xqm
<function name="_:getDictDictUserUsers"/>
<function name="_:createUser"/>
<function name="_:getDictDictNameUser"/>
<function name="_:deleteDictDictNameUser"/>
</tag>
<tag name="internal" method="exclusive">
Override the default behavior.
<function name="_:getDictDictUserEntries404"/>
<function name="_:getDictDictUserEntry404"/>
</tag>
</tags>
<components>
<securitySchemes>
<securityScheme name="httpBasicWithSHA256Pws">
This service uses HTTP Basic authentication.
To somewhat protect the Passwords their SHA256 hash is created when set by VLE.
There may be unhashed passwords on the server for test purpose.
<type>http</type>
<scheme>basic</scheme>
</securityScheme>
</securitySchemes>
</components>
<security>
<SecurityRequirement name="httpBasicWithSHA256Pws"/>
</security>
</config>