summaryrefslogtreecommitdiff
path: root/src/Controllers
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2025-08-10 19:47:35 +0200
committerDaniel Weipert <git@mail.dweipert.de>2025-08-10 19:47:35 +0200
commit1fc29c6029cfa8c7dce5535ff9cfb2daaa6427e0 (patch)
tree2efd4ac02c6288eb325fe992e85a02559a9b34b3 /src/Controllers
parentc14579871fa1241713128a2d0d5514af004e3371 (diff)
next commit
Diffstat (limited to 'src/Controllers')
-rw-r--r--src/Controllers/ServerDiscoveryController.php8
-rw-r--r--src/Controllers/ServerImplementationController.php9
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",
+ ],
+ ]);
+ }
}