nextcloud/apps/webhooks/lib/ResponseDefinitions.php
Côme Chilliet 7fe3f1cc70 fix: Add event filter to openapi
Somehow this does not work in the ocs_api_viewer app, so we should look
 into better specifying format for eventFilter.
Ideally it should also be set as in body, not query.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00

26 lines
527 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Webhooks;
/**
* @psalm-type WebhooksListenerInfo = array{
* id: string,
* userId: string,
* httpMethod: string,
* uri: string,
* event?: string,
* eventFilter?: array<mixed>,
* headers?: array<string,string>,
* authMethod: string,
* authData?: array<string,mixed>,
* }
*/
class ResponseDefinitions {
}