Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wiki:software:beuthbot:database [25.06.2020 14:54] Tobias Belkner |
wiki:software:beuthbot:database [29.06.2020 14:01] (aktuell) Tobias Belkner [Table of Content] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
=====database===== | =====database===== | ||
+ | |||
+ | ==== Table of Content ==== | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
+ | - [[[[wiki: | ||
====Motivation==== | ====Motivation==== | ||
Zeile 245: | Zeile 268: | ||
</ | </ | ||
- | == API == | + | ==== API ==== |
=== Request all Users === | === Request all Users === | ||
Requests all Users in the collection | Requests all Users in the collection | ||
Zeile 252: | Zeile 275: | ||
</ | </ | ||
- | ==== Response | + | == Response == |
< | < | ||
{...}, | {...}, | ||
Zeile 266: | Zeile 289: | ||
</ | </ | ||
- | ==== Error ==== | + | == Error == |
< | < | ||
{ | { | ||
Zeile 278: | Zeile 301: | ||
</ | </ | ||
- | ==== Reponse | + | == Reponse == |
Request a single user with the given id. | Request a single user with the given id. | ||
< | < | ||
Zeile 291: | Zeile 314: | ||
</ | </ | ||
- | ==== Error ==== | + | == Error == |
< | < | ||
Zeile 299: | Zeile 322: | ||
</ | </ | ||
- | === Add / Change | + | === Add / Change Detail === |
Add/Change a Detaile to/from the User with the given id. | Add/Change a Detaile to/from the User with the given id. | ||
< | < | ||
Zeile 305: | Zeile 328: | ||
</ | </ | ||
- | ==== Request Body ==== | + | == Request Body == |
< | < | ||
Zeile 314: | Zeile 337: | ||
</ | </ | ||
- | ==== Reponse | + | == Reponse == |
If the operation was successful the error will be set to null and the success will be set to true. If the operation failed an error message will be set and the success will be set to false. | If the operation was successful the error will be set to null and the success will be set to true. If the operation failed an error message will be set and the success will be set to false. | ||
< | < | ||
Zeile 328: | Zeile 351: | ||
</ | </ | ||
- | ==== Reponse | + | == Reponse == |
If the operation was successful the error will be set to null and the success will be set to true. If the operation failed an error message will be set and the success will be set to false. | If the operation was successful the error will be set to null and the success will be set to true. If the operation failed an error message will be set and the success will be set to false. | ||
Zeile 345: | Zeile 368: | ||
</ | </ | ||
- | ==== Reponse | + | == Reponse == |
If the operation was successful the error will be set to null and the success will be set to true. If the operation failed an error message will be set and the success will be set to false. | If the operation was successful the error will be set to null and the success will be set to true. If the operation failed an error message will be set and the success will be set to false. | ||
< | < |