Skip to content

Commit e3166ba

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

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
@@ -2160,6 +2160,78 @@
21602160
}
21612161
}
21622162
},
2163+
"/ocs/v2.php/cloud/apps/user_enabled": {
2164+
"get": {
2165+
"operationId": "apps-get-enabled-apps-for-user",
2166+
"summary": "Get a list of enabled apps for the current user",
2167+
"tags": [
2168+
"apps"
2169+
],
2170+
"security": [
2171+
{
2172+
"bearer_auth": []
2173+
},
2174+
{
2175+
"basic_auth": []
2176+
}
2177+
],
2178+
"parameters": [
2179+
{
2180+
"name": "OCS-APIRequest",
2181+
"in": "header",
2182+
"description": "Required to be true for the API request to pass",
2183+
"required": true,
2184+
"schema": {
2185+
"type": "boolean",
2186+
"default": true
2187+
}
2188+
}
2189+
],
2190+
"responses": {
2191+
"200": {
2192+
"description": "Enabled apps returned",
2193+
"content": {
2194+
"application/json": {
2195+
"schema": {
2196+
"type": "object",
2197+
"required": [
2198+
"ocs"
2199+
],
2200+
"properties": {
2201+
"ocs": {
2202+
"type": "object",
2203+
"required": [
2204+
"meta",
2205+
"data"
2206+
],
2207+
"properties": {
2208+
"meta": {
2209+
"$ref": "#/components/schemas/OCSMeta"
2210+
},
2211+
"data": {
2212+
"type": "object",
2213+
"required": [
2214+
"apps"
2215+
],
2216+
"properties": {
2217+
"apps": {
2218+
"type": "array",
2219+
"items": {
2220+
"type": "string"
2221+
}
2222+
}
2223+
}
2224+
}
2225+
}
2226+
}
2227+
}
2228+
}
2229+
}
2230+
}
2231+
}
2232+
}
2233+
}
2234+
},
21632235
"/ocs/v2.php/cloud/groups/details": {
21642236
"get": {
21652237
"operationId": "groups-get-groups-details",

apps/provisioning_api/openapi.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,78 @@
405405
}
406406
},
407407
"paths": {
408+
"/ocs/v2.php/cloud/apps/user_enabled": {
409+
"get": {
410+
"operationId": "apps-get-enabled-apps-for-user",
411+
"summary": "Get a list of enabled apps for the current user",
412+
"tags": [
413+
"apps"
414+
],
415+
"security": [
416+
{
417+
"bearer_auth": []
418+
},
419+
{
420+
"basic_auth": []
421+
}
422+
],
423+
"parameters": [
424+
{
425+
"name": "OCS-APIRequest",
426+
"in": "header",
427+
"description": "Required to be true for the API request to pass",
428+
"required": true,
429+
"schema": {
430+
"type": "boolean",
431+
"default": true
432+
}
433+
}
434+
],
435+
"responses": {
436+
"200": {
437+
"description": "Enabled apps returned",
438+
"content": {
439+
"application/json": {
440+
"schema": {
441+
"type": "object",
442+
"required": [
443+
"ocs"
444+
],
445+
"properties": {
446+
"ocs": {
447+
"type": "object",
448+
"required": [
449+
"meta",
450+
"data"
451+
],
452+
"properties": {
453+
"meta": {
454+
"$ref": "#/components/schemas/OCSMeta"
455+
},
456+
"data": {
457+
"type": "object",
458+
"required": [
459+
"apps"
460+
],
461+
"properties": {
462+
"apps": {
463+
"type": "array",
464+
"items": {
465+
"type": "string"
466+
}
467+
}
468+
}
469+
}
470+
}
471+
}
472+
}
473+
}
474+
}
475+
}
476+
}
477+
}
478+
}
479+
},
408480
"/ocs/v2.php/cloud/groups": {
409481
"get": {
410482
"operationId": "groups-get-groups",

openapi.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24566,6 +24566,78 @@
2456624566
}
2456724567
}
2456824568
},
24569+
"/ocs/v2.php/cloud/apps/user_enabled": {
24570+
"get": {
24571+
"operationId": "provisioning_api-apps-get-enabled-apps-for-user",
24572+
"summary": "Get a list of enabled apps for the current user",
24573+
"tags": [
24574+
"provisioning_api/apps"
24575+
],
24576+
"security": [
24577+
{
24578+
"bearer_auth": []
24579+
},
24580+
{
24581+
"basic_auth": []
24582+
}
24583+
],
24584+
"parameters": [
24585+
{
24586+
"name": "OCS-APIRequest",
24587+
"in": "header",
24588+
"description": "Required to be true for the API request to pass",
24589+
"required": true,
24590+
"schema": {
24591+
"type": "boolean",
24592+
"default": true
24593+
}
24594+
}
24595+
],
24596+
"responses": {
24597+
"200": {
24598+
"description": "Enabled apps returned",
24599+
"content": {
24600+
"application/json": {
24601+
"schema": {
24602+
"type": "object",
24603+
"required": [
24604+
"ocs"
24605+
],
24606+
"properties": {
24607+
"ocs": {
24608+
"type": "object",
24609+
"required": [
24610+
"meta",
24611+
"data"
24612+
],
24613+
"properties": {
24614+
"meta": {
24615+
"$ref": "#/components/schemas/OCSMeta"
24616+
},
24617+
"data": {
24618+
"type": "object",
24619+
"required": [
24620+
"apps"
24621+
],
24622+
"properties": {
24623+
"apps": {
24624+
"type": "array",
24625+
"items": {
24626+
"type": "string"
24627+
}
24628+
}
24629+
}
24630+
}
24631+
}
24632+
}
24633+
}
24634+
}
24635+
}
24636+
}
24637+
}
24638+
}
24639+
}
24640+
},
2456924641
"/ocs/v2.php/cloud/groups/details": {
2457024642
"get": {
2457124643
"operationId": "provisioning_api-groups-get-groups-details",

0 commit comments

Comments
 (0)