Browse Source
fix: update OpenAPI specs
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
pull/53569/head
Jana Peper
5 months ago
No known key found for this signature in database
GPG Key ID: 21BB61ACAFC2C89E
3 changed files with
216 additions and
0 deletions
-
apps/provisioning_api/openapi-full.json
-
apps/provisioning_api/openapi.json
-
openapi.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", |
|
|
|
|
|
|
|
@ -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", |
|
|
|
|
|
|
|
@ -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", |
|
|
|
|