Commit Graph

7 Commits

Author SHA1 Message Date
Dimitri Huisman
2558ae3bc9 Add automatic tests for RESTful API. Fix all remaining issues that I could find with the API. 2024-03-22 15:01:37 +00:00
Dimitri Huisman
6627dd2924 API: Create user did not handle exception of duplicate user 2024-01-24 10:57:30 +00:00
Dimitri Huisman
8f86ffc6fd Fix #3113. RESTful API was not correctly documented. 2024-01-22 10:44:30 +00:00
Dimitri Huisman
b0569035ae Change PUT method to PATCH method.
This better reflects what the interface does.
2023-01-12 10:55:49 +00:00
Dimitri Huisman
39b0d44079 Use first() instead of all() for better performance
Actually return all data for Get user
Remove non-used code
2022-12-27 11:32:57 +01:00
Dimitri Huisman
61d092922c Process review comments (PR2464) 2022-12-27 11:32:57 +01:00
Dimitri Huisman
5c9cdfe1de Introduction of the Mailu RESTful API.
Anything that can be configured in the web administration interface,
can also be configured via the Mailu RESTful API.
See the section Advanced configuration in the configuration reference
for the relevant settings in mailu.env for enabling the API.
(API, WEB_API, API_TOKEN).
2022-12-27 11:32:54 +01:00