diff options
author | Jana Peper <jana.peper@nextcloud.com> | 2025-06-18 16:04:06 +0200 |
---|---|---|
committer | Jana Peper <jana.peper@nextcloud.com> | 2025-06-18 17:31:33 +0200 |
commit | c890051587ca0cf634f56a1c267029a8a29e3d5b (patch) | |
tree | b82a06993e75f749aa041ef5bca85ed4875ea89b | |
parent | 50c9852e240727e1aa8c0fc982e9d997a99a192e (diff) | |
download | nextcloud-server-c890051587ca0cf634f56a1c267029a8a29e3d5b.tar.gz nextcloud-server-c890051587ca0cf634f56a1c267029a8a29e3d5b.zip |
fix: update OpenAPI specs
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
-rw-r--r-- | apps/provisioning_api/openapi-full.json | 72 | ||||
-rw-r--r-- | apps/provisioning_api/openapi.json | 72 | ||||
-rw-r--r-- | openapi.json | 72 |
3 files changed, 216 insertions, 0 deletions
diff --git a/apps/provisioning_api/openapi-full.json b/apps/provisioning_api/openapi-full.json index 734c588be6b..cde7eeaa557 100644 --- a/apps/provisioning_api/openapi-full.json +++ b/apps/provisioning_api/openapi-full.json @@ -3573,6 +3573,78 @@ } } }, + "/ocs/v2.php/cloud/user/apps": { + "get": { + "operationId": "users-get-enabled-apps", + "summary": "Get a list of enabled apps for the current user", + "tags": [ + "users" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Enabled apps returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "apps" + ], + "properties": { + "apps": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, "/ocs/v2.php/cloud/users/{userId}/{collectionName}": { "put": { "operationId": "users-edit-user-multi-value", diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json index d2fd2378488..29272f34956 100644 --- a/apps/provisioning_api/openapi.json +++ b/apps/provisioning_api/openapi.json @@ -2003,6 +2003,78 @@ } } }, + "/ocs/v2.php/cloud/user/apps": { + "get": { + "operationId": "users-get-enabled-apps", + "summary": "Get a list of enabled apps for the current user", + "tags": [ + "users" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Enabled apps returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "apps" + ], + "properties": { + "apps": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, "/ocs/v2.php/cloud/users/{userId}/{collectionName}": { "put": { "operationId": "users-edit-user-multi-value", diff --git a/openapi.json b/openapi.json index f74df6a6a71..c888a82bb89 100644 --- a/openapi.json +++ b/openapi.json @@ -25983,6 +25983,78 @@ } } }, + "/ocs/v2.php/cloud/user/apps": { + "get": { + "operationId": "provisioning_api-users-get-enabled-apps", + "summary": "Get a list of enabled apps for the current user", + "tags": [ + "provisioning_api/users" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Enabled apps returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "apps" + ], + "properties": { + "apps": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + } + }, "/ocs/v2.php/cloud/users/{userId}/{collectionName}": { "put": { "operationId": "provisioning_api-users-edit-user-multi-value", |