aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'apps/provisioning_api/openapi.json')
-rw-r--r--apps/provisioning_api/openapi.json66
1 files changed, 60 insertions, 6 deletions
diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json
index e5e184194b9..abd2aa87e86 100644
--- a/apps/provisioning_api/openapi.json
+++ b/apps/provisioning_api/openapi.json
@@ -660,9 +660,27 @@
"404": {
"description": "Group not found",
"content": {
- "text/plain": {
+ "application/json": {
"schema": {
- "type": "string"
+ "type": "object",
+ "required": [
+ "ocs"
+ ],
+ "properties": {
+ "ocs": {
+ "type": "object",
+ "required": [
+ "meta",
+ "data"
+ ],
+ "properties": {
+ "meta": {
+ "$ref": "#/components/schemas/OCSMeta"
+ },
+ "data": {}
+ }
+ }
+ }
}
}
}
@@ -670,9 +688,27 @@
"403": {
"description": "Missing permissions to get users in the group",
"content": {
- "text/plain": {
+ "application/json": {
"schema": {
- "type": "string"
+ "type": "object",
+ "required": [
+ "ocs"
+ ],
+ "properties": {
+ "ocs": {
+ "type": "object",
+ "required": [
+ "meta",
+ "data"
+ ],
+ "properties": {
+ "meta": {
+ "$ref": "#/components/schemas/OCSMeta"
+ },
+ "data": {}
+ }
+ }
+ }
}
}
}
@@ -1144,9 +1180,27 @@
"403": {
"description": "Missing permissions to make user subadmin",
"content": {
- "text/plain": {
+ "application/json": {
"schema": {
- "type": "string"
+ "type": "object",
+ "required": [
+ "ocs"
+ ],
+ "properties": {
+ "ocs": {
+ "type": "object",
+ "required": [
+ "meta",
+ "data"
+ ],
+ "properties": {
+ "meta": {
+ "$ref": "#/components/schemas/OCSMeta"
+ },
+ "data": {}
+ }
+ }
+ }
}
}
}