mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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>
26 lines
527 B
PHP
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 {
|
|
}
|