diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-11-06 15:32:52 +0100 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-11-10 09:21:16 +0100 |
commit | f3181a3931dcca792d004bba2fc7339bcdb8fbda (patch) | |
tree | 06f0b4034467a3dca13df54c15f7ab63c19ae50f /core/openapi.json | |
parent | c753eefb217b041d9029da67f935211562079d16 (diff) | |
download | nextcloud-server-f3181a3931dcca792d004bba2fc7339bcdb8fbda.tar.gz nextcloud-server-f3181a3931dcca792d004bba2fc7339bcdb8fbda.zip |
chore: update openapi.json
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'core/openapi.json')
-rw-r--r-- | core/openapi.json | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/core/openapi.json b/core/openapi.json index 872a2f80a51..a63d9380db7 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -501,19 +501,41 @@ "type": "object", "required": [ "id", + "appId", "name", - "order" + "icon", + "order", + "triggers", + "filters" ], "properties": { "id": { "type": "string" }, + "appId": { + "type": "string" + }, "name": { "type": "string" }, + "icon": { + "type": "string" + }, "order": { "type": "integer", "format": "int64" + }, + "triggers": { + "type": "array", + "items": { + "type": "string" + } + }, + "filters": { + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -4000,7 +4022,8 @@ "/ocs/v2.php/search/providers/{providerId}/search": { "get": { "operationId": "unified_search-search", - "summary": "Search", + "summary": "Launch a search for a specific search provider.", + "description": "Additional filters are available for each provider. Send a request to /providers endpoint to list providers with their available filters.", "tags": [ "unified_search" ], @@ -4132,7 +4155,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "nullable": true + "type": "string" } } } @@ -6038,4 +6061,4 @@ "description": "Controller about the endpoint /ocm-provider/" } ] -} +}
\ No newline at end of file |