Update: 2026-05-06 01:38:39
This commit is contained in:
@@ -42,6 +42,21 @@ $routes = [
|
||||
'v1/subscriptions/current' => ['GET', 'subscriptions/current.php'],
|
||||
'v1/subscriptions/assign' => ['POST', 'subscriptions/assign.php'],
|
||||
'v1/subscriptions/usage' => ['GET', 'subscriptions/usage.php'],
|
||||
|
||||
// Mobile Auth & Device Routes
|
||||
'v1/auth/mobile/request-otp' => ['POST', 'auth/mobile_request_otp.php'],
|
||||
'v1/auth/mobile/verify-otp' => ['POST', 'auth/mobile_verify_otp.php'],
|
||||
'v1/auth/mobile/register-device' => ['POST', 'auth/register_device.php'],
|
||||
|
||||
// Batch Scanning Routes
|
||||
'v1/batches/create' => ['POST', 'batches/create.php'],
|
||||
'v1/batches/upload-image' => ['POST', 'batches/upload_image.php'],
|
||||
'v1/batches/finalize' => ['POST', 'batches/finalize.php'],
|
||||
'v1/batches/status' => ['GET', 'batches/status.php'],
|
||||
|
||||
// Voice Assistant Proxies
|
||||
'v1/voice/transcribe' => ['POST', 'voice/transcribe.php'],
|
||||
'v1/voice/parse-intent' => ['POST', 'voice/parse_intent.php'],
|
||||
];
|
||||
|
||||
if (isset($routes[$route])) {
|
||||
|
||||
Reference in New Issue
Block a user