diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-08-10 19:47:35 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-08-10 19:47:35 +0200 |
commit | 1fc29c6029cfa8c7dce5535ff9cfb2daaa6427e0 (patch) | |
tree | 2efd4ac02c6288eb325fe992e85a02559a9b34b3 /src/Controllers | |
parent | c14579871fa1241713128a2d0d5514af004e3371 (diff) |
next commit
Diffstat (limited to 'src/Controllers')
-rw-r--r-- | src/Controllers/ServerDiscoveryController.php | 8 | ||||
-rw-r--r-- | src/Controllers/ServerImplementationController.php | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/Controllers/ServerDiscoveryController.php b/src/Controllers/ServerDiscoveryController.php index e5fdd31..076329b 100644 --- a/src/Controllers/ServerDiscoveryController.php +++ b/src/Controllers/ServerDiscoveryController.php @@ -22,4 +22,12 @@ class ServerDiscoveryController ], ]); } + + public function support(): Response + { + return new JsonResponse([ + "contacts" => [], + "support_page" => "", + ]); + } } diff --git a/src/Controllers/ServerImplementationController.php b/src/Controllers/ServerImplementationController.php index 4531ce5..b5d9d0f 100644 --- a/src/Controllers/ServerImplementationController.php +++ b/src/Controllers/ServerImplementationController.php @@ -16,4 +16,13 @@ class ServerImplementationController ], ]); } + + public function versions(): Response + { + return new JsonResponse([ + "versions" => [ + "v1.1", + ], + ]); + } } |