Skip to content

Commit 18e47aa

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

File tree

3 files changed

+216
-0
lines changed

3 files changed

+216
-0
lines changed

apps/provisioning_api/openapi-full.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3573,6 +3573,78 @@
35733573
}
35743574
}
35753575
},
3576+
"/ocs/v2.php/cloud/user/apps": {
3577+
"get": {
3578+
"operationId": "users-get-enabled-apps",
3579+
"summary": "Get a list of enabled apps for the current user",
3580+
"tags": [
3581+
"users"
3582+
],
3583+
"security": [
3584+
{
3585+
"bearer_auth": []
3586+
},
3587+
{
3588+
"basic_auth": []
3589+
}
3590+
],
3591+
"parameters": [
3592+
{
3593+
"name": "OCS-APIRequest",
3594+
"in": "header",
3595+
"description": "Required to be true for the API request to pass",
3596+
"required": true,
3597+
"schema": {
3598+
"type": "boolean",
3599+
"default": true
3600+
}
3601+
}
3602+
],
3603+
"responses": {
3604+
"200": {
3605+
"description": "Enabled apps returned",
3606+
"content": {
3607+
"application/json": {
3608+
"schema": {
3609+
"type": "object",
3610+
"required": [
3611+
"ocs"
3612+
],
3613+
"properties": {
3614+
"ocs": {
3615+
"type": "object",
3616+
"required": [
3617+
"meta",
3618+
"data"
3619+
],
3620+
"properties": {
3621+
"meta": {
3622+
"$ref": "#/components/schemas/OCSMeta"
3623+
},
3624+
"data": {
3625+
"type": "object",
3626+
"required": [
3627+
"apps"
3628+
],
3629+
"properties": {
3630+
"apps": {
3631+
"type": "array",
3632+
"items": {
3633+
"type": "string"
3634+
}
3635+
}
3636+
}
3637+
}
3638+
}
3639+
}
3640+
}
3641+
}
3642+
}
3643+
}
3644+
}
3645+
}
3646+
}
3647+
},
35763648
"/ocs/v2.php/cloud/users/{userId}/{collectionName}": {
35773649
"put": {
35783650
"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
@@ -2003,6 +2003,78 @@
20032003
}
20042004
}
20052005
},
2006+
"/ocs/v2.php/cloud/user/apps": {
2007+
"get": {
2008+
"operationId": "users-get-enabled-apps",
2009+
"summary": "Get a list of enabled apps for the current user",
2010+
"tags": [
2011+
"users"
2012+
],
2013+
"security": [
2014+
{
2015+
"bearer_auth": []
2016+
},
2017+
{
2018+
"basic_auth": []
2019+
}
2020+
],
2021+
"parameters": [
2022+
{
2023+
"name": "OCS-APIRequest",
2024+
"in": "header",
2025+
"description": "Required to be true for the API request to pass",
2026+
"required": true,
2027+
"schema": {
2028+
"type": "boolean",
2029+
"default": true
2030+
}
2031+
}
2032+
],
2033+
"responses": {
2034+
"200": {
2035+
"description": "Enabled apps returned",
2036+
"content": {
2037+
"application/json": {
2038+
"schema": {
2039+
"type": "object",
2040+
"required": [
2041+
"ocs"
2042+
],
2043+
"properties": {
2044+
"ocs": {
2045+
"type": "object",
2046+
"required": [
2047+
"meta",
2048+
"data"
2049+
],
2050+
"properties": {
2051+
"meta": {
2052+
"$ref": "#/components/schemas/OCSMeta"
2053+
},
2054+
"data": {
2055+
"type": "object",
2056+
"required": [
2057+
"apps"
2058+
],
2059+
"properties": {
2060+
"apps": {
2061+
"type": "array",
2062+
"items": {
2063+
"type": "string"
2064+
}
2065+
}
2066+
}
2067+
}
2068+
}
2069+
}
2070+
}
2071+
}
2072+
}
2073+
}
2074+
}
2075+
}
2076+
}
2077+
},
20062078
"/ocs/v2.php/cloud/users/{userId}/{collectionName}": {
20072079
"put": {
20082080
"operationId": "users-edit-user-multi-value",

openapi.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25979,6 +25979,78 @@
2597925979
}
2598025980
}
2598125981
},
25982+
"/ocs/v2.php/cloud/user/apps": {
25983+
"get": {
25984+
"operationId": "provisioning_api-users-get-enabled-apps",
25985+
"summary": "Get a list of enabled apps for the current user",
25986+
"tags": [
25987+
"provisioning_api/users"
25988+
],
25989+
"security": [
25990+
{
25991+
"bearer_auth": []
25992+
},
25993+
{
25994+
"basic_auth": []
25995+
}
25996+
],
25997+
"parameters": [
25998+
{
25999+
"name": "OCS-APIRequest",
26000+
"in": "header",
26001+
"description": "Required to be true for the API request to pass",
26002+
"required": true,
26003+
"schema": {
26004+
"type": "boolean",
26005+
"default": true
26006+
}
26007+
}
26008+
],
26009+
"responses": {
26010+
"200": {
26011+
"description": "Enabled apps returned",
26012+
"content": {
26013+
"application/json": {
26014+
"schema": {
26015+
"type": "object",
26016+
"required": [
26017+
"ocs"
26018+
],
26019+
"properties": {
26020+
"ocs": {
26021+
"type": "object",
26022+
"required": [
26023+
"meta",
26024+
"data"
26025+
],
26026+
"properties": {
26027+
"meta": {
26028+
"$ref": "#/components/schemas/OCSMeta"
26029+
},
26030+
"data": {
26031+
"type": "object",
26032+
"required": [
26033+
"apps"
26034+
],
26035+
"properties": {
26036+
"apps": {
26037+
"type": "array",
26038+
"items": {
26039+
"type": "string"
26040+
}
26041+
}
26042+
}
26043+
}
26044+
}
26045+
}
26046+
}
26047+
}
26048+
}
26049+
}
26050+
}
26051+
}
26052+
}
26053+
},
2598226054
"/ocs/v2.php/cloud/users/{userId}/{collectionName}": {
2598326055
"put": {
2598426056
"operationId": "provisioning_api-users-edit-user-multi-value",

0 commit comments

Comments
 (0)