aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/dashboard/openapi.json8
-rw-r--r--apps/provisioning_api/openapi.json25
-rw-r--r--apps/user_ldap/openapi.json2
-rw-r--r--apps/weather_status/openapi.json7
4 files changed, 30 insertions, 12 deletions
diff --git a/apps/dashboard/openapi.json b/apps/dashboard/openapi.json
index cf706f1f55d..594aed76793 100644
--- a/apps/dashboard/openapi.json
+++ b/apps/dashboard/openapi.json
@@ -231,11 +231,15 @@
}
},
{
- "name": "widgets",
+ "name": "widgets[]",
"in": "query",
"description": "Limit results to specific widgets",
"schema": {
- "type": "string"
+ "type": "array",
+ "default": [],
+ "items": {
+ "type": "string"
+ }
}
},
{
diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json
index 6eb16aa6ad1..8a0e57d682a 100644
--- a/apps/provisioning_api/openapi.json
+++ b/apps/provisioning_api/openapi.json
@@ -1781,19 +1781,27 @@
}
},
{
- "name": "groups",
+ "name": "groups[]",
"in": "query",
"description": "Groups of the user",
"schema": {
- "type": "string"
+ "type": "array",
+ "default": [],
+ "items": {
+ "type": "string"
+ }
}
},
{
- "name": "subadmin",
+ "name": "subadmin[]",
"in": "query",
"description": "Groups where the user is subadmin",
"schema": {
- "type": "string"
+ "type": "array",
+ "default": [],
+ "items": {
+ "type": "string"
+ }
}
},
{
@@ -3563,7 +3571,7 @@
{
"name": "app",
"in": "path",
- "description": "ID if the app",
+ "description": "ID of the app",
"required": true,
"schema": {
"type": "string"
@@ -4260,12 +4268,15 @@
],
"parameters": [
{
- "name": "configKeys",
+ "name": "configKeys[]",
"in": "query",
"description": "Keys to delete",
"required": true,
"schema": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
{
diff --git a/apps/user_ldap/openapi.json b/apps/user_ldap/openapi.json
index 5be4938e177..43d2d8016b5 100644
--- a/apps/user_ldap/openapi.json
+++ b/apps/user_ldap/openapi.json
@@ -120,7 +120,7 @@
"get": {
"operationId": "configapi-show",
"summary": "Get a configuration",
- "description": "This endpoint requires admin access",
+ "description": "Output can look like this: <?xml version=\"1.0\"?> <ocs> <meta> <status>ok</status> <statuscode>200</statuscode> <message>OK</message> </meta> <data> <ldapHost>ldaps://my.ldap.server</ldapHost> <ldapPort>7770</ldapPort> <ldapBackupHost></ldapBackupHost> <ldapBackupPort></ldapBackupPort> <ldapBase>ou=small,dc=my,dc=ldap,dc=server</ldapBase> <ldapBaseUsers>ou=users,ou=small,dc=my,dc=ldap,dc=server</ldapBaseUsers> <ldapBaseGroups>ou=small,dc=my,dc=ldap,dc=server</ldapBaseGroups> <ldapAgentName>cn=root,dc=my,dc=ldap,dc=server</ldapAgentName> <ldapAgentPassword>clearTextWithShowPassword=1</ldapAgentPassword> <ldapTLS>1</ldapTLS> <turnOffCertCheck>0</turnOffCertCheck> <ldapIgnoreNamingRules/> <ldapUserDisplayName>displayname</ldapUserDisplayName> <ldapUserDisplayName2>uid</ldapUserDisplayName2> <ldapUserFilterObjectclass>inetOrgPerson</ldapUserFilterObjectclass> <ldapUserFilterGroups></ldapUserFilterGroups> <ldapUserFilter>(&amp;(objectclass=nextcloudUser)(nextcloudEnabled=TRUE))</ldapUserFilter> <ldapUserFilterMode>1</ldapUserFilterMode> <ldapGroupFilter>(&amp;(|(objectclass=nextcloudGroup)))</ldapGroupFilter> <ldapGroupFilterMode>0</ldapGroupFilterMode> <ldapGroupFilterObjectclass>nextcloudGroup</ldapGroupFilterObjectclass> <ldapGroupFilterGroups></ldapGroupFilterGroups> <ldapGroupDisplayName>cn</ldapGroupDisplayName> <ldapGroupMemberAssocAttr>memberUid</ldapGroupMemberAssocAttr> <ldapLoginFilter>(&amp;(|(objectclass=inetOrgPerson))(uid=%uid))</ldapLoginFilter> <ldapLoginFilterMode>0</ldapLoginFilterMode> <ldapLoginFilterEmail>0</ldapLoginFilterEmail> <ldapLoginFilterUsername>1</ldapLoginFilterUsername> <ldapLoginFilterAttributes></ldapLoginFilterAttributes> <ldapQuotaAttribute></ldapQuotaAttribute> <ldapQuotaDefault></ldapQuotaDefault> <ldapEmailAttribute>mail</ldapEmailAttribute> <ldapCacheTTL>20</ldapCacheTTL> <ldapUuidUserAttribute>auto</ldapUuidUserAttribute> <ldapUuidGroupAttribute>auto</ldapUuidGroupAttribute> <ldapOverrideMainServer></ldapOverrideMainServer> <ldapConfigurationActive>1</ldapConfigurationActive> <ldapAttributesForUserSearch>uid;sn;givenname</ldapAttributesForUserSearch> <ldapAttributesForGroupSearch></ldapAttributesForGroupSearch> <ldapExperiencedAdmin>0</ldapExperiencedAdmin> <homeFolderNamingRule></homeFolderNamingRule> <hasMemberOfFilterSupport></hasMemberOfFilterSupport> <useMemberOfToDetectMembership>1</useMemberOfToDetectMembership> <ldapExpertUsernameAttr>uid</ldapExpertUsernameAttr> <ldapExpertUUIDUserAttr>uid</ldapExpertUUIDUserAttr> <ldapExpertUUIDGroupAttr></ldapExpertUUIDGroupAttr> <lastJpegPhotoLookup>0</lastJpegPhotoLookup> <ldapNestedGroups>0</ldapNestedGroups> <ldapPagingSize>500</ldapPagingSize> <turnOnPasswordChange>1</turnOnPasswordChange> <ldapDynamicGroupMemberURL></ldapDynamicGroupMemberURL> </data> </ocs>\nThis endpoint requires admin access",
"tags": [
"configapi"
],
diff --git a/apps/weather_status/openapi.json b/apps/weather_status/openapi.json
index b6110473d37..cdfcbc3a269 100644
--- a/apps/weather_status/openapi.json
+++ b/apps/weather_status/openapi.json
@@ -847,12 +847,15 @@
],
"parameters": [
{
- "name": "favorites",
+ "name": "favorites[]",
"in": "query",
"description": "Favorite addresses",
"required": true,
"schema": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
{