f7cloud_client/apps/logreader/appinfo/routes.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

17 lines
578 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2017 F7cloud GmbH and F7cloud contributors
* SPDX-FileCopyrightText: 2015 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
return ['routes' => [
// page
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'log#get', 'url' => '/api/log', 'verb' => 'GET'],
['name' => 'log#poll', 'url' => '/api/poll', 'verb' => 'GET'],
// app settings
['name' => 'settings#getAppConfig', 'url' => '/api/settings', 'verb' => 'GET'],
['name' => 'settings#updateAppConfig', 'url' => '/api/settings', 'verb' => 'PUT']
]];