Skip to content

Commit 17c6547

Browse files
committed
fix: update OpenAPI specs
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
1 parent c07d6e8 commit 17c6547

File tree

3 files changed

+145
-1
lines changed

3 files changed

+145
-1
lines changed

3rdparty

Submodule 3rdparty updated 259 files

apps/provisioning_api/openapi-full.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3059,6 +3059,78 @@
30593059
}
30603060
}
30613061
},
3062+
"/ocs/v2.php/cloud/user/apps": {
3063+
"get": {
3064+
"operationId": "users-get-enabled-apps",
3065+
"summary": "Get a list of enabled apps for the current user",
3066+
"tags": [
3067+
"users"
3068+
],
3069+
"security": [
3070+
{
3071+
"bearer_auth": []
3072+
},
3073+
{
3074+
"basic_auth": []
3075+
}
3076+
],
3077+
"parameters": [
3078+
{
3079+
"name": "OCS-APIRequest",
3080+
"in": "header",
3081+
"description": "Required to be true for the API request to pass",
3082+
"required": true,
3083+
"schema": {
3084+
"type": "boolean",
3085+
"default": true
3086+
}
3087+
}
3088+
],
3089+
"responses": {
3090+
"200": {
3091+
"description": "Enabled apps returned",
3092+
"content": {
3093+
"application/json": {
3094+
"schema": {
3095+
"type": "object",
3096+
"required": [
3097+
"ocs"
3098+
],
3099+
"properties": {
3100+
"ocs": {
3101+
"type": "object",
3102+
"required": [
3103+
"meta",
3104+
"data"
3105+
],
3106+
"properties": {
3107+
"meta": {
3108+
"$ref": "#/components/schemas/OCSMeta"
3109+
},
3110+
"data": {
3111+
"type": "object",
3112+
"required": [
3113+
"apps"
3114+
],
3115+
"properties": {
3116+
"apps": {
3117+
"type": "array",
3118+
"items": {
3119+
"type": "string"
3120+
}
3121+
}
3122+
}
3123+
}
3124+
}
3125+
}
3126+
}
3127+
}
3128+
}
3129+
}
3130+
}
3131+
}
3132+
}
3133+
},
30623134
"/ocs/v2.php/cloud/users/{userId}/{collectionName}": {
30633135
"put": {
30643136
"operationId": "users-edit-user-multi-value",

apps/provisioning_api/openapi.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,6 +1996,78 @@
19961996
}
19971997
}
19981998
},
1999+
"/ocs/v2.php/cloud/user/apps": {
2000+
"get": {
2001+
"operationId": "users-get-enabled-apps",
2002+
"summary": "Get a list of enabled apps for the current user",
2003+
"tags": [
2004+
"users"
2005+
],
2006+
"security": [
2007+
{
2008+
"bearer_auth": []
2009+
},
2010+
{
2011+
"basic_auth": []
2012+
}
2013+
],
2014+
"parameters": [
2015+
{
2016+
"name": "OCS-APIRequest",
2017+
"in": "header",
2018+
"description": "Required to be true for the API request to pass",
2019+
"required": true,
2020+
"schema": {
2021+
"type": "boolean",
2022+
"default": true
2023+
}
2024+
}
2025+
],
2026+
"responses": {
2027+
"200": {
2028+
"description": "Enabled apps returned",
2029+
"content": {
2030+
"application/json": {
2031+
"schema": {
2032+
"type": "object",
2033+
"required": [
2034+
"ocs"
2035+
],
2036+
"properties": {
2037+
"ocs": {
2038+
"type": "object",
2039+
"required": [
2040+
"meta",
2041+
"data"
2042+
],
2043+
"properties": {
2044+
"meta": {
2045+
"$ref": "#/components/schemas/OCSMeta"
2046+
},
2047+
"data": {
2048+
"type": "object",
2049+
"required": [
2050+
"apps"
2051+
],
2052+
"properties": {
2053+
"apps": {
2054+
"type": "array",
2055+
"items": {
2056+
"type": "string"
2057+
}
2058+
}
2059+
}
2060+
}
2061+
}
2062+
}
2063+
}
2064+
}
2065+
}
2066+
}
2067+
}
2068+
}
2069+
}
2070+
},
19992071
"/ocs/v2.php/cloud/users/{userId}/{collectionName}": {
20002072
"put": {
20012073
"operationId": "users-edit-user-multi-value",

0 commit comments

Comments
 (0)