diff options
author | provokateurin <kate@provokateurin.de> | 2024-08-19 11:08:28 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-08-21 11:07:50 +0200 |
commit | ff10f9f60f777407ecf8ac8901339e985e4d49b5 (patch) | |
tree | 7cd27ea42b4b22288bdfcf3212aa921a4762848f /apps/provisioning_api | |
parent | cf56874cb1cb6150eadaf673474785e6b86937f7 (diff) | |
download | nextcloud-server-ff10f9f60f777407ecf8ac8901339e985e4d49b5.tar.gz nextcloud-server-ff10f9f60f777407ecf8ac8901339e985e4d49b5.zip |
chore(deps): Update openapi-extractor to v1.0.0
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/provisioning_api')
-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 |
3 files changed, 493 insertions, 577 deletions
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", |