|
|
ae2ce859ad
|
Do not accidentally overwrite shipcall fields when fields are not passed on PUT request
|
2025-11-16 19:26:15 +01:00 |
|
|
|
0d7861ec36
|
If a PUT or DELETE operation is attempted on a non-existant object, 404 is returned
|
2024-10-21 10:37:35 +02:00 |
|
|
|
489dfc2ed6
|
added port_id and ports endpoint to flask app (no validation yet!), reading works
|
2024-09-13 17:45:31 +02:00 |
|
Max Metz
|
d2cd233f13
|
creating default handlers for every kind of Exception in the /api/ routes. Those default functions also create automatic logging with the .warning level. Relocated the .impl-calls into the Try-Exception-blocks, so they are properly logged and avoid system failures.
|
2024-09-09 12:46:55 +02:00 |
|
Max Metz
|
85973ad848
|
creating a default error response format for each API route
|
2024-09-09 12:21:32 +02:00 |
|
Max Metz
|
4b5ff90b34
|
properly serializing ValidationError exceptions.
|
2024-09-04 08:30:46 +02:00 |
|
Max Metz
|
b60874cbb0
|
shipcall, ship, times and user verify the validity of JSON data when receiving POST/PUT requests.
|
2024-08-14 15:49:28 +02:00 |
|
Max Metz
|
3d2e1f5158
|
Added input validation for API requests. Refactored some methods, added docstrings. Solved marshmallow-warnings in BreCal.schemas.model. Added unit tests, now totaling 215. Added proposals to refactor all SQL queries into an object at BreCal.database.sql_queries.SQLQuery for better standardization. Created a helper-object to handle Emails, which prepares the notification-feature.
|
2024-07-25 10:42:44 +02:00 |
|
|
|
862ef9fe88
|
Merge branch 'feature/api_enhancements' into develop
|
2024-03-27 10:08:48 +01:00 |
|
|
|
06e9c9b8ae
|
log incoming message
|
2024-02-24 10:05:43 +01:00 |
|
|
|
6e114d15e7
|
Set default shipcall lookup to max 1 day in the past
|
2024-02-09 12:42:18 +01:00 |
|
|
|
13c5866884
|
Fixed eta / etd search error and evaluate searchFromEta as filter used against the back-end to retrieve shipcalls from the past
|
2023-10-26 15:00:15 +02:00 |
|
|
|
5544d0126d
|
fixed complete participant download and removed all TODOs regarding
token verifikation. Also removed the /verify call since it is now covered by /login.
|
2023-07-11 15:46:17 +02:00 |
|
|
|
3f211919af
|
added JWT Authentication (expiring bearer token)
|
2023-06-26 08:38:45 +02:00 |
|
|
|
15cc4bf8da
|
API up and running.
There are still open issues but in principle, it is working
|
2023-06-22 10:56:13 +02:00 |
|
|
|
c69d13d1f3
|
Open API 3.0
- Added first draft of yaml file
- Added Python stubs generated by postman export tool
|
2023-03-02 09:22:37 +01:00 |
|