aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/openapi.json
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-07-02 09:08:04 +0200
committerprovokateurin <kate@provokateurin.de>2024-07-02 09:08:04 +0200
commit32de9582594e8cde172846684e9874cf10ba7099 (patch)
tree134a54cdb3531fafaf0b09505d3479380286ab9d /apps/files_trashbin/openapi.json
parentee7dda5e867b4b86fdd26abcbc574f619e8a8d64 (diff)
downloadnextcloud-server-32de9582594e8cde172846684e9874cf10ba7099.tar.gz
nextcloud-server-32de9582594e8cde172846684e9874cf10ba7099.zip
chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_trashbin/openapi.json')
-rw-r--r--apps/files_trashbin/openapi.json78
1 files changed, 34 insertions, 44 deletions
diff --git a/apps/files_trashbin/openapi.json b/apps/files_trashbin/openapi.json
index 2103047c282..03b98635b39 100644
--- a/apps/files_trashbin/openapi.json
+++ b/apps/files_trashbin/openapi.json
@@ -57,51 +57,41 @@
"basic_auth": []
}
],
- "parameters": [
- {
- "name": "fileId",
- "in": "query",
- "description": "ID of the file",
- "schema": {
- "type": "integer",
- "format": "int64",
- "default": -1
- }
- },
- {
- "name": "x",
- "in": "query",
- "description": "Width of the preview",
- "schema": {
- "type": "integer",
- "format": "int64",
- "default": 32
- }
- },
- {
- "name": "y",
- "in": "query",
- "description": "Height of the preview",
- "schema": {
- "type": "integer",
- "format": "int64",
- "default": 32
- }
- },
- {
- "name": "a",
- "in": "query",
- "description": "Whether to not crop the preview",
- "schema": {
- "type": "integer",
- "default": 0,
- "enum": [
- 0,
- 1
- ]
+ "requestBody": {
+ "required": false,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "fileId": {
+ "type": "integer",
+ "format": "int64",
+ "default": -1,
+ "description": "ID of the file"
+ },
+ "x": {
+ "type": "integer",
+ "format": "int64",
+ "default": 32,
+ "description": "Width of the preview"
+ },
+ "y": {
+ "type": "integer",
+ "format": "int64",
+ "default": 32,
+ "description": "Height of the preview"
+ },
+ "a": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether to not crop the preview"
+ }
+ }
+ }
}
}
- ],
+ },
"responses": {
"200": {
"description": "Preview returned",
@@ -135,4 +125,4 @@
}
},
"tags": []
-} \ No newline at end of file
+}