Commit graph

29 commits

Author SHA1 Message Date
Daniel
20a72df439 Improve error messages for not ready API endpoints 2024-04-23 10:46:09 +02:00
Daniel
ef9e112d8b Improve mime type support for api endpoints 2023-10-03 11:21:44 +02:00
Daniel
4451b6985c Improve config import and export utils 2023-10-03 11:21:44 +02:00
Daniel
82ed043721 Add response headers to APIRequest 2023-09-05 12:50:42 +02:00
Daniel
48711570af Document API endpoint metadata 2023-08-09 14:54:29 +02:00
Daniel
ee9f722a9c Make linter happy 2023-07-20 14:48:14 +02:00
Vladimir Stoilov
df62abdf1b Add database custom interface functions 2023-07-20 14:33:55 +02:00
Vladimir Stoilov
c9d77682f8 Fix report downloads deleting pending updates 2023-03-10 16:42:04 +01:00
Daniel
b0e5bc90c2 Fix api endpoint log message 2022-11-04 16:10:25 +01:00
Daniel
412b4242c2 FIx linter errors 2022-09-29 10:55:01 +02:00
Patrick Pacher
ba6dee246b
Restore http.Request body for http.HandlerFunc in api package 2022-05-03 16:09:40 +02:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
1695420b0e Fix CORS handling 2021-11-28 23:48:45 +01:00
Daniel
08016b16cd Add Read/WriteMethod field to api.Endpoint 2021-11-24 16:36:39 +01:00
Daniel
140389d142 Add option to supply HTTP status codes with API errors 2021-11-23 12:57:16 +01:00
Daniel
8c758e7e52 Improve endpoint metadata 2021-11-23 12:56:30 +01:00
Daniel
52d83f6edd Add missing newlines to api ActionFunc messages 2021-11-17 14:23:08 +01:00
Daniel
ac0a5176b3 Implement review suggestions 2021-09-27 12:50:50 +02:00
Daniel
bd46a92359 Fix typo 2021-06-01 12:57:07 +02:00
Daniel
2b165c149a Wait for modules to be ready before calling http handlers 2021-05-17 14:42:02 +02:00
Daniel
8c1f2fcbe8 Remove debug msgs 2021-05-12 15:37:24 +02:00
Daniel
400f4c12ed Use gorilla/mux for endpoint paths 2021-05-12 15:37:24 +02:00
Daniel
8814d279bd Add api bridge for database 2021-05-11 14:59:33 +02:00
Daniel
89fad3d9ca Use HTTP security headers on all requests 2021-01-28 16:50:57 +01:00
Daniel
afdb367ada Remove unused middlewares and fix linter errors 2021-01-28 16:50:23 +01:00
Daniel
ab05924bcf Implement review suggestions 2021-01-19 16:26:44 +01:00
Daniel
11e8271d41 Add API Key auth and improve endpoints 2021-01-19 15:37:55 +01:00
Daniel
3244fefd43 Implement review suggestions 2021-01-06 13:34:25 +01:00
Daniel
9100dc999b Add endpoint api and authentication layer 2020-12-30 23:49:57 +01:00