diff options
| author | Daniel Weipert <git@mail.dweipert.de> | 2025-08-15 15:47:27 +0200 |
|---|---|---|
| committer | Daniel Weipert <git@mail.dweipert.de> | 2025-08-15 15:47:27 +0200 |
| commit | a0ad1f5e7fac279b33ea09ca0e347cd7d02cd8ec (patch) | |
| tree | 15363be13084bd61b386cf817212096089ea508f /src/Controllers/KeyController.php | |
| parent | c135fcf9041c604b32827a1cb027010bca5915ab (diff) | |
keys and sync endpoint setup
Diffstat (limited to 'src/Controllers/KeyController.php')
| -rw-r--r-- | src/Controllers/KeyController.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Controllers/KeyController.php b/src/Controllers/KeyController.php index 04f2c6d..a999e40 100644 --- a/src/Controllers/KeyController.php +++ b/src/Controllers/KeyController.php @@ -2,6 +2,7 @@ namespace App\Controllers; +use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\JsonResponse; @@ -17,6 +18,15 @@ class KeyController ]); } + public function upload(): Response + { + $request = Request::createFromGlobals(); + + return new JsonResponse([ + "one_time_key_counts" => [], + ]); + } + public function query(string $serverName): Response {} } |
