API: add backward compatibility to API Version 11
commitb5284271bca14dff275be9ed818304462f9693fe
authorAndreas Gohr <andi@splitbrain.org>
Tue, 9 Jan 2024 16:45:12 +0000 (9 17:45 +0100)
committerAndreas Gohr <andi@splitbrain.org>
Tue, 9 Jan 2024 16:49:09 +0000 (9 17:49 +0100)
tree1cf84ff64a5514daf19a07ddc2177177dc769528
parentd48c2b252a339bed693da46fae768d93f4b3fe41
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.
inc/Remote/Api.php
inc/Remote/LegacyApiCore.php [new file with mode: 0644]
inc/Remote/OpenApiDoc/OpenAPIGenerator.php