aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/openapi.json
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-19 22:23:20 +0100
committerprovokateurin <kate@provokateurin.de>2024-05-10 09:44:01 +0200
commit5f53e446da58cbddc6d6a89736c3fe86edc4695c (patch)
tree0294798d7b29a4a06e5c67b8a5fd1918d5b2187c /apps/dashboard/openapi.json
parentd82fe6c7b406465d3ec903c1a69bc81adbfeb481 (diff)
downloadnextcloud-server-5f53e446da58cbddc6d6a89736c3fe86edc4695c.tar.gz
nextcloud-server-5f53e446da58cbddc6d6a89736c3fe86edc4695c.zip
refactor(dashboard): Let the statuses and layout endpoints use a saner format
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/dashboard/openapi.json')
-rw-r--r--apps/dashboard/openapi.json24
1 files changed, 18 insertions, 6 deletions
diff --git a/apps/dashboard/openapi.json b/apps/dashboard/openapi.json
index 21021be9df2..495479ae837 100644
--- a/apps/dashboard/openapi.json
+++ b/apps/dashboard/openapi.json
@@ -448,12 +448,15 @@
],
"parameters": [
{
- "name": "layout",
+ "name": "layout[]",
"in": "query",
"description": "The new layout",
"required": true,
"schema": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
{
@@ -495,7 +498,10 @@
],
"properties": {
"layout": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
}
}
@@ -526,12 +532,15 @@
],
"parameters": [
{
- "name": "statuses",
+ "name": "statuses[]",
"in": "query",
"description": "The new statuses",
"required": true,
"schema": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
{
@@ -573,7 +582,10 @@
],
"properties": {
"statuses": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
}
}