b5284271 | 09-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: add backward compatibility to API Version 11
This adds legacy support for the old API calls. This is mostly untested but should work. Returns might not be 100% compatible in all cases but I did
API: add backward compatibility to API Version 11
This adds legacy support for the old API calls. This is mostly untested but should work. Returns might not be 100% compatible in all cases but I did my best to return the same things as before.
This will be removed in the future of course and is just to not completely break any API usage immeadiately.
show more ...
|
7de5ac55 | 06-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Another argument parsing fix for ApiCall
When using named parameters, you can expect to be able to leave out any optional parameter and have it take it's default, even when you specify another "late
Another argument parsing fix for ApiCall
When using named parameters, you can expect to be able to leave out any optional parameter and have it take it's default, even when you specify another "later" parameter. Luckily we already know all the defaults from reflection anyway.
show more ...
|
b433b69e | 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: remove file and date transformations
We always deal with timestamps or base64 now. Removing some of the magic makes everything less complex.
Only affected plugin is confmanager, which needs an
API: remove file and date transformations
We always deal with timestamps or base64 now. Removing some of the magic makes everything less complex.
Only affected plugin is confmanager, which needs an update.
show more ...
|
d3856637 | 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: clean up error codes
Error codes are now extracted from API core and printed on the OpenAPI overview page. This makes it easier to see what is in use.
Error messages have been cleaned up, some
API: clean up error codes
Error codes are now extracted from API core and printed on the OpenAPI overview page. This makes it easier to see what is in use.
Error messages have been cleaned up, some new codes have been assigned.
Some errors have been removed. Eg. it is fine to iterate a media namespace you don't have read access to. The result will either be empty or contain files from lower namespaces that you *do* have access to.
show more ...
|