Refs #37 — implements ONLYOFFICE integration suggested in the discussion; video progress saving will be tracked separately.
13 lines
410 B
PHP
13 lines
410 B
PHP
<?php
|
|
/**
|
|
* @OA\Get(
|
|
* path="/api/onlyoffice/status.php",
|
|
* summary="ONLYOFFICE availability & supported extensions",
|
|
* tags={"ONLYOFFICE"},
|
|
* @OA\Response(response=200, description="Status JSON")
|
|
* )
|
|
*/
|
|
declare(strict_types=1);
|
|
require_once __DIR__ . '/../../../config/config.php';
|
|
require_once PROJECT_ROOT . '/src/controllers/OnlyOfficeController.php';
|
|
(new OnlyOfficeController())->status(); |