diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dashboard/openapi.json | 132 | ||||
-rw-r--r-- | apps/dav/openapi.json | 26 | ||||
-rw-r--r-- | apps/federation/openapi.json | 84 | ||||
-rw-r--r-- | apps/files/openapi.json | 61 | ||||
-rw-r--r-- | apps/files_sharing/openapi.json | 400 | ||||
-rw-r--r-- | apps/files_trashbin/openapi.json | 76 | ||||
-rw-r--r-- | apps/files_versions/openapi.json | 70 | ||||
-rw-r--r-- | apps/oauth2/openapi.json | 54 | ||||
-rw-r--r-- | apps/provisioning_api/openapi-administration.json | 138 | ||||
-rw-r--r-- | apps/provisioning_api/openapi-full.json | 522 | ||||
-rw-r--r-- | apps/provisioning_api/openapi.json | 410 | ||||
-rw-r--r-- | apps/theming/openapi.json | 78 | ||||
-rw-r--r-- | apps/updatenotification/openapi.json | 26 | ||||
-rw-r--r-- | apps/user_ldap/openapi.json | 30 | ||||
-rw-r--r-- | apps/user_status/openapi.json | 44 | ||||
-rw-r--r-- | apps/webhook_listeners/openapi.json | 26 |
16 files changed, 1042 insertions, 1135 deletions
diff --git a/apps/dashboard/openapi.json b/apps/dashboard/openapi.json index 3351e0a3e3c..775d21adb50 100644 --- a/apps/dashboard/openapi.json +++ b/apps/dashboard/openapi.json @@ -187,43 +187,39 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "sinceIds": { - "type": "object", - "default": [], - "description": "Array indexed by widget Ids, contains date/id from which we want the new items", - "additionalProperties": { - "type": "string" - } - }, - "limit": { - "type": "integer", - "format": "int64", - "default": 7, - "description": "Limit number of result items per widget", - "minimum": 1, - "maximum": 30 - }, - "widgets": { - "type": "array", - "default": [], - "description": "Limit results to specific widgets", - "items": { - "type": "string" - } - } - } + "parameters": [ + { + "name": "sinceIds", + "in": "query", + "description": "Array indexed by widget Ids, contains date/id from which we want the new items", + "schema": { + "type": "string" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit number of result items per widget", + "schema": { + "type": "integer", + "format": "int64", + "default": 7, + "minimum": 1, + "maximum": 30 + } + }, + { + "name": "widgets[]", + "in": "query", + "description": "Limit results to specific widgets", + "schema": { + "type": "array", + "default": [], + "items": { + "type": "string" } } - } - }, - "parameters": [ + }, { "name": "OCS-APIRequest", "in": "header", @@ -290,43 +286,39 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "sinceIds": { - "type": "object", - "default": [], - "description": "Array indexed by widget Ids, contains date/id from which we want the new items", - "additionalProperties": { - "type": "string" - } - }, - "limit": { - "type": "integer", - "format": "int64", - "default": 7, - "description": "Limit number of result items per widget, not more than 30 are allowed", - "minimum": 1, - "maximum": 30 - }, - "widgets": { - "type": "array", - "default": [], - "description": "Limit results to specific widgets", - "items": { - "type": "string" - } - } - } + "parameters": [ + { + "name": "sinceIds", + "in": "query", + "description": "Array indexed by widget Ids, contains date/id from which we want the new items", + "schema": { + "type": "string" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit number of result items per widget, not more than 30 are allowed", + "schema": { + "type": "integer", + "format": "int64", + "default": 7, + "minimum": 1, + "maximum": 30 + } + }, + { + "name": "widgets[]", + "in": "query", + "description": "Limit results to specific widgets", + "schema": { + "type": "array", + "default": [], + "items": { + "type": "string" } } - } - }, - "parameters": [ + }, { "name": "OCS-APIRequest", "in": "header", diff --git a/apps/dav/openapi.json b/apps/dav/openapi.json index 5d3e292a7ef..7045a7f9b27 100644 --- a/apps/dav/openapi.json +++ b/apps/dav/openapi.json @@ -382,25 +382,17 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "location": { - "type": "string", - "nullable": true, - "description": "location/URL to filter by" - } - } - } - } - } - }, "parameters": [ { + "name": "location", + "in": "query", + "description": "location/URL to filter by", + "schema": { + "type": "string", + "nullable": true + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/federation/openapi.json b/apps/federation/openapi.json index c8b4d1a91b3..3740b8ad04f 100644 --- a/apps/federation/openapi.json +++ b/apps/federation/openapi.json @@ -63,32 +63,26 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "url", - "token" - ], - "properties": { - "url": { - "type": "string", - "description": "URL of the server" - }, - "token": { - "type": "string", - "description": "Token of the server" - } - } - } - } - } - }, "parameters": [ { + "name": "url", + "in": "query", + "description": "URL of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "token", + "in": "query", + "description": "Token of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -297,32 +291,26 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "url", - "token" - ], - "properties": { - "url": { - "type": "string", - "description": "URL of the server" - }, - "token": { - "type": "string", - "description": "Token of the server" - } - } - } - } - } - }, "parameters": [ { + "name": "url", + "in": "query", + "description": "URL of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "token", + "in": "query", + "description": "Token of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/files/openapi.json b/apps/files/openapi.json index 97c95cc29c0..5745f07889d 100644 --- a/apps/files/openapi.json +++ b/apps/files/openapi.json @@ -152,6 +152,25 @@ } } }, + "TemplateField": { + "type": "object", + "required": [ + "index", + "content", + "type" + ], + "properties": { + "index": { + "type": "string" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "TemplateFile": { "type": "object", "required": [ @@ -1973,31 +1992,27 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "path": { - "type": "string", - "default": "/", - "description": "The path relative to the user folder" - }, - "depth": { - "type": "integer", - "format": "int64", - "default": 1, - "description": "The depth of the tree" - } - } - } - } - } - }, "parameters": [ { + "name": "path", + "in": "query", + "description": "The path relative to the user folder", + "schema": { + "type": "string", + "default": "/" + } + }, + { + "name": "depth", + "in": "query", + "description": "The depth of the tree", + "schema": { + "type": "integer", + "format": "int64", + "default": 1 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json index cf1e7206d01..79462697883 100644 --- a/apps/files_sharing/openapi.json +++ b/apps/files_sharing/openapi.json @@ -1385,40 +1385,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "file": { - "type": "string", - "default": "", - "description": "File in the share" - }, - "x": { - "type": "integer", - "format": "int64", - "default": 32, - "description": "Width of the preview" - }, - "y": { - "type": "integer", - "format": "int64", - "default": 32, - "description": "Height of the preview" - }, - "a": { - "type": "boolean", - "default": false, - "description": "Whether to not crop the preview" - } - } - } - } - } - }, "parameters": [ { "name": "token", @@ -1428,6 +1394,48 @@ "schema": { "type": "string" } + }, + { + "name": "file", + "in": "query", + "description": "File in the share", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "x", + "in": "query", + "description": "Width of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 32 + } + }, + { + "name": "y", + "in": "query", + "description": "Height of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 32 + } + }, + { + "name": "a", + "in": "query", + "description": "Whether to not crop the preview", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } } ], "responses": { @@ -1565,45 +1573,53 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "shared_with_me": { - "type": "string", - "default": "false", - "description": "Only get shares with the current user" - }, - "reshares": { - "type": "string", - "default": "false", - "description": "Only get shares by the current user and reshares" - }, - "subfiles": { - "type": "string", - "default": "false", - "description": "Only get all shares in a folder" - }, - "path": { - "type": "string", - "default": "", - "description": "Get shares for a specific path" - }, - "include_tags": { - "type": "string", - "default": "false", - "description": "Include tags in the share" - } - } - } - } - } - }, "parameters": [ { + "name": "shared_with_me", + "in": "query", + "description": "Only get shares with the current user", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "reshares", + "in": "query", + "description": "Only get shares by the current user and reshares", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "subfiles", + "in": "query", + "description": "Only get all shares in a folder", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "path", + "in": "query", + "description": "Get shares for a specific path", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "include_tags", + "in": "query", + "description": "Include tags in the share", + "schema": { + "type": "string", + "default": "false" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1915,27 +1931,17 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "path" - ], - "properties": { - "path": { - "type": "string", - "description": "Path all shares will be relative to" - } - } - } - } - } - }, "parameters": [ { + "name": "path", + "in": "query", + "description": "Path all shares will be relative to", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -2100,23 +2106,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "include_tags": { - "type": "boolean", - "default": false, - "description": "Include tags in the share" - } - } - } - } - } - }, "parameters": [ { "name": "id", @@ -2128,6 +2117,19 @@ } }, { + "name": "include_tags", + "in": "query", + "description": "Include tags in the share", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -3005,63 +3007,79 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "itemType": { - "type": "string", - "nullable": true, - "description": "Limit to specific item types" - }, - "page": { - "type": "integer", - "format": "int64", - "default": 1, - "description": "Page offset for searching" - }, - "perPage": { + "parameters": [ + { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "itemType", + "in": "query", + "description": "Limit to specific item types", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "description": "Page offset for searching", + "schema": { + "type": "integer", + "format": "int64", + "default": 1 + } + }, + { + "name": "perPage", + "in": "query", + "description": "Limit amount of search results per page", + "schema": { + "type": "integer", + "format": "int64", + "default": 200 + } + }, + { + "name": "shareType", + "in": "query", + "description": "Limit to specific share types", + "schema": { + "nullable": true, + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "array", + "items": { "type": "integer", - "format": "int64", - "default": 200, - "description": "Limit amount of search results per page" - }, - "shareType": { - "nullable": true, - "description": "Limit to specific share types", - "oneOf": [ - { - "type": "integer", - "format": "int64" - }, - { - "type": "array", - "items": { - "type": "integer", - "format": "int64" - } - } - ] - }, - "lookup": { - "type": "boolean", - "default": false, - "description": "If a global lookup should be performed too" + "format": "int64" } } - } + ] } - } - }, - "parameters": [ + }, + { + "name": "lookup", + "in": "query", + "description": "If a global lookup should be performed too", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -3157,43 +3175,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "itemType" - ], - "properties": { - "itemType": { - "type": "string", - "description": "Limit to specific item types" - }, - "shareType": { - "nullable": true, - "description": "Limit to specific share types", - "oneOf": [ - { - "type": "integer", - "format": "int64" - }, - { - "type": "array", - "items": { - "type": "integer", - "format": "int64" - } - } - ] + "parameters": [ + { + "name": "itemType", + "in": "query", + "description": "Limit to specific item types", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "shareType", + "in": "query", + "description": "Limit to specific share types", + "schema": { + "nullable": true, + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "array", + "items": { + "type": "integer", + "format": "int64" } } - } + ] } - } - }, - "parameters": [ + }, { "name": "OCS-APIRequest", "in": "header", diff --git a/apps/files_trashbin/openapi.json b/apps/files_trashbin/openapi.json index 03b98635b39..6662fe10815 100644 --- a/apps/files_trashbin/openapi.json +++ b/apps/files_trashbin/openapi.json @@ -57,41 +57,51 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "fileId": { - "type": "integer", - "format": "int64", - "default": -1, - "description": "ID of the file" - }, - "x": { - "type": "integer", - "format": "int64", - "default": 32, - "description": "Width of the preview" - }, - "y": { - "type": "integer", - "format": "int64", - "default": 32, - "description": "Height of the preview" - }, - "a": { - "type": "boolean", - "default": false, - "description": "Whether to not crop the preview" - } - } - } + "parameters": [ + { + "name": "fileId", + "in": "query", + "description": "ID of the file", + "schema": { + "type": "integer", + "format": "int64", + "default": -1 + } + }, + { + "name": "x", + "in": "query", + "description": "Width of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 32 + } + }, + { + "name": "y", + "in": "query", + "description": "Height of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 32 + } + }, + { + "name": "a", + "in": "query", + "description": "Whether to not crop the preview", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] } } - }, + ], "responses": { "200": { "description": "Preview returned", diff --git a/apps/files_versions/openapi.json b/apps/files_versions/openapi.json index ee81923c905..9c6a7e5f473 100644 --- a/apps/files_versions/openapi.json +++ b/apps/files_versions/openapi.json @@ -65,40 +65,46 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "file": { - "type": "string", - "default": "", - "description": "Path of the file" - }, - "x": { - "type": "integer", - "format": "int64", - "default": 44, - "description": "Width of the preview" - }, - "y": { - "type": "integer", - "format": "int64", - "default": 44, - "description": "Height of the preview" - }, - "version": { - "type": "string", - "default": "", - "description": "Version of the file to get the preview for" - } - } - } + "parameters": [ + { + "name": "file", + "in": "query", + "description": "Path of the file", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "x", + "in": "query", + "description": "Width of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 44 + } + }, + { + "name": "y", + "in": "query", + "description": "Height of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 44 + } + }, + { + "name": "version", + "in": "query", + "description": "Version of the file to get the preview for", + "schema": { + "type": "string", + "default": "" } } - }, + ], "responses": { "200": { "description": "Preview returned", diff --git a/apps/oauth2/openapi.json b/apps/oauth2/openapi.json index f06f72b317b..cdf52de3f5e 100644 --- a/apps/oauth2/openapi.json +++ b/apps/oauth2/openapi.json @@ -38,35 +38,35 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "client_id", - "state", - "response_type" - ], - "properties": { - "client_id": { - "type": "string", - "description": "Client ID" - }, - "state": { - "type": "string", - "description": "State of the flow" - }, - "response_type": { - "type": "string", - "description": "Response type for the flow" - } - } - } + "parameters": [ + { + "name": "client_id", + "in": "query", + "description": "Client ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "state", + "in": "query", + "description": "State of the flow", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "response_type", + "in": "query", + "description": "Response type for the flow", + "required": true, + "schema": { + "type": "string" } } - }, + ], "responses": { "200": { "description": "Client not found", diff --git a/apps/provisioning_api/openapi-administration.json b/apps/provisioning_api/openapi-administration.json index 532bf684976..3834de8a700 100644 --- a/apps/provisioning_api/openapi-administration.json +++ b/apps/provisioning_api/openapi-administration.json @@ -357,25 +357,17 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "filter": { - "type": "string", - "nullable": true, - "description": "Filter for enabled or disabled apps" - } - } - } - } - } - }, "parameters": [ { + "name": "filter", + "in": "query", + "description": "Filter for enabled or disabled apps", + "schema": { + "type": "string", + "nullable": true + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -977,37 +969,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of users returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of users returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1252,25 +1244,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "groupid" - ], - "properties": { - "groupid": { - "type": "string", - "description": "ID of the group" - } - } - } - } - } - }, "parameters": [ { "name": "userId", @@ -1282,6 +1255,15 @@ } }, { + "name": "groupid", + "in": "query", + "description": "ID of the group", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1541,23 +1523,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "defaultValue": { - "type": "string", - "default": "", - "description": "Default returned value if the value is empty" - } - } - } - } - } - }, "parameters": [ { "name": "app", @@ -1578,6 +1543,15 @@ } }, { + "name": "defaultValue", + "in": "query", + "description": "Default returned value if the value is empty", + "schema": { + "type": "string", + "default": "" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/provisioning_api/openapi-full.json b/apps/provisioning_api/openapi-full.json index 4c7b1b2e29a..6577efebed9 100644 --- a/apps/provisioning_api/openapi-full.json +++ b/apps/provisioning_api/openapi-full.json @@ -404,25 +404,17 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "filter": { - "type": "string", - "nullable": true, - "description": "Filter for enabled or disabled apps" - } - } - } - } - } - }, "parameters": [ { + "name": "filter", + "in": "query", + "description": "Filter for enabled or disabled apps", + "schema": { + "type": "string", + "nullable": true + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -777,37 +769,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -962,37 +954,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of users returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of users returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1237,25 +1229,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "groupid" - ], - "properties": { - "groupid": { - "type": "string", - "description": "ID of the group" - } - } - } - } - } - }, "parameters": [ { "name": "userId", @@ -1267,6 +1240,15 @@ } }, { + "name": "groupid", + "in": "query", + "description": "ID of the group", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1668,37 +1650,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1907,35 +1889,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { "name": "groupId", @@ -1948,6 +1901,35 @@ } }, { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -2033,37 +2015,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -2295,37 +2277,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -2411,37 +2393,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of users returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of users returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -3549,25 +3531,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "groupid" - ], - "properties": { - "groupid": { - "type": "string", - "description": "ID of the group" - } - } - } - } - } - }, "parameters": [ { "name": "userId", @@ -3579,6 +3542,15 @@ } }, { + "name": "groupid", + "in": "query", + "description": "ID of the group", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -4048,28 +4020,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "configKeys" - ], - "properties": { - "configKeys": { - "type": "array", - "description": "Keys to delete", - "items": { - "type": "string" - } - } - } - } - } - } - }, "parameters": [ { "name": "appId", @@ -4081,6 +4031,18 @@ } }, { + "name": "configKeys[]", + "in": "query", + "description": "Keys to delete", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json index 65cb01bc380..ef07072460e 100644 --- a/apps/provisioning_api/openapi.json +++ b/apps/provisioning_api/openapi.json @@ -403,37 +403,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -504,37 +504,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -743,35 +743,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { "name": "groupId", @@ -784,6 +755,35 @@ } }, { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -952,37 +952,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1214,37 +1214,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of groups returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset for searching for groups" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of groups returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for searching for groups", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -1330,37 +1330,37 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "search": { - "type": "string", - "default": "", - "description": "Text to search for" - }, - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Limit the amount of users returned" - }, - "offset": { - "type": "integer", - "format": "int64", - "default": 0, - "description": "Offset" - } - } - } - } - } - }, "parameters": [ { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "limit", + "in": "query", + "description": "Limit the amount of users returned", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -2468,25 +2468,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "groupid" - ], - "properties": { - "groupid": { - "type": "string", - "description": "ID of the group" - } - } - } - } - } - }, "parameters": [ { "name": "userId", @@ -2498,6 +2479,15 @@ } }, { + "name": "groupid", + "in": "query", + "description": "ID of the group", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -3110,28 +3100,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "configKeys" - ], - "properties": { - "configKeys": { - "type": "array", - "description": "Keys to delete", - "items": { - "type": "string" - } - } - } - } - } - } - }, "parameters": [ { "name": "appId", @@ -3143,6 +3111,18 @@ } }, { + "name": "configKeys[]", + "in": "query", + "description": "Keys to delete", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json index 45284ebf613..9057d26cb69 100644 --- a/apps/theming/openapi.json +++ b/apps/theming/openapi.json @@ -138,28 +138,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "plain": { - "type": "boolean", - "default": false, - "description": "Let the browser decide the CSS priority" - }, - "withCustomCss": { - "type": "boolean", - "default": false, - "description": "Include custom CSS" - } - } - } - } - } - }, "parameters": [ { "name": "themeId", @@ -169,6 +147,32 @@ "schema": { "type": "string" } + }, + { + "name": "plain", + "in": "query", + "description": "Let the browser decide the CSS priority", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } + }, + { + "name": "withCustomCss", + "in": "query", + "description": "Include custom CSS", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } } ], "responses": { @@ -212,23 +216,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "useSvg": { - "type": "boolean", - "default": true, - "description": "Return image as SVG" - } - } - } - } - } - }, "parameters": [ { "name": "key", @@ -238,6 +225,19 @@ "schema": { "type": "string" } + }, + { + "name": "useSvg", + "in": "query", + "description": "Return image as SVG", + "schema": { + "type": "integer", + "default": 1, + "enum": [ + 0, + 1 + ] + } } ], "responses": { diff --git a/apps/updatenotification/openapi.json b/apps/updatenotification/openapi.json index ffa726a31bb..fb6c3c84cf5 100644 --- a/apps/updatenotification/openapi.json +++ b/apps/updatenotification/openapi.json @@ -220,23 +220,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "version": { - "type": "string", - "nullable": true, - "description": "The version to search the changelog entry for (defaults to the latest installed)" - } - } - } - } - } - }, "parameters": [ { "name": "apiVersion", @@ -260,6 +243,15 @@ } }, { + "name": "version", + "in": "query", + "description": "The version to search the changelog entry for (defaults to the latest installed)", + "schema": { + "type": "string", + "nullable": true + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/user_ldap/openapi.json b/apps/user_ldap/openapi.json index 61fcfea3e6b..0881d2e7d51 100644 --- a/apps/user_ldap/openapi.json +++ b/apps/user_ldap/openapi.json @@ -133,23 +133,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "showPassword": { - "type": "boolean", - "default": false, - "description": "Whether to show the password" - } - } - } - } - } - }, "parameters": [ { "name": "configID", @@ -161,6 +144,19 @@ } }, { + "name": "showPassword", + "in": "query", + "description": "Whether to show the password", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json index cbaec7d7731..8b631156709 100644 --- a/apps/user_status/openapi.json +++ b/apps/user_status/openapi.json @@ -424,32 +424,28 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "limit": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Maximum number of statuses to find" - }, - "offset": { - "type": "integer", - "format": "int64", - "nullable": true, - "description": "Offset for finding statuses" - } - } - } - } - } - }, "parameters": [ { + "name": "limit", + "in": "query", + "description": "Maximum number of statuses to find", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "offset", + "in": "query", + "description": "Offset for finding statuses", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", diff --git a/apps/webhook_listeners/openapi.json b/apps/webhook_listeners/openapi.json index b460fea0b02..7b6fdd6241f 100644 --- a/apps/webhook_listeners/openapi.json +++ b/apps/webhook_listeners/openapi.json @@ -114,25 +114,17 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "uri": { - "type": "string", - "nullable": true, - "description": "The callback URI to filter by" - } - } - } - } - } - }, "parameters": [ { + "name": "uri", + "in": "query", + "description": "The callback URI to filter by", + "schema": { + "type": "string", + "nullable": true + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", |