aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-06-01 13:39:11 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2025-06-01 13:39:11 +0200
commit7793799ef34710f427a63fa0038ba944ec2d5c3c (patch)
tree77bc3d905aa978eb7b2bef473b2bb4c41981ffc8
parent477c990b5b2270a6546c43c8dad71dae9f2ce7dd (diff)
downloadnextcloud-server-dependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.7.0.tar.gz
nextcloud-server-dependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.7.0.zip
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--apps/dav/openapi.json3
-rw-r--r--apps/federatedfilesharing/openapi.json20
-rw-r--r--apps/files/openapi.json4
-rw-r--r--apps/files_sharing/openapi.json33
-rw-r--r--apps/provisioning_api/openapi-administration.json6
-rw-r--r--apps/provisioning_api/openapi-full.json25
-rw-r--r--apps/provisioning_api/openapi.json19
-rw-r--r--apps/theming/openapi.json1
-rw-r--r--apps/updatenotification/openapi.json3
-rw-r--r--apps/user_status/openapi.json4
-rw-r--r--apps/webhook_listeners/openapi.json17
-rw-r--r--core/openapi-ex_app.json2
-rw-r--r--core/openapi-full.json43
-rw-r--r--core/openapi.json41
-rw-r--r--openapi.json153
15 files changed, 319 insertions, 55 deletions
diff --git a/apps/dav/openapi.json b/apps/dav/openapi.json
index 48d6ae03ee0..27904636def 100644
--- a/apps/dav/openapi.json
+++ b/apps/dav/openapi.json
@@ -399,7 +399,8 @@
"description": "location/URL to filter by",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
diff --git a/apps/federatedfilesharing/openapi.json b/apps/federatedfilesharing/openapi.json
index 990cbf50bfa..411ff856b18 100644
--- a/apps/federatedfilesharing/openapi.json
+++ b/apps/federatedfilesharing/openapi.json
@@ -158,47 +158,56 @@
"remote": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Address of the remote"
},
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"name": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Name of the shared resource"
},
"owner": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Display name of the receiver"
},
"sharedBy": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Display name of the sender"
},
"shareWith": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the user that receives the share"
},
"remoteId": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "ID of the remote"
},
"sharedByFederatedId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Federated ID of the sender"
},
"ownerFederatedId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Federated ID of the receiver"
}
}
@@ -276,11 +285,13 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"shareWith": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the user that receives the share"
},
"remoteId": {
@@ -417,12 +428,14 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"permissions": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "New permissions"
}
}
@@ -538,6 +551,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -635,6 +649,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -722,6 +737,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -809,6 +825,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -924,16 +941,19 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"remote": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Address of the remote"
},
"remote_id": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the remote"
}
}
diff --git a/apps/files/openapi.json b/apps/files/openapi.json
index c227b12d922..c5d6053075c 100644
--- a/apps/files/openapi.json
+++ b/apps/files/openapi.json
@@ -847,12 +847,14 @@
"editorId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the editor"
},
"fileId": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "ID of the file"
}
}
@@ -1032,6 +1034,7 @@
"templateId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the template"
}
}
@@ -2366,6 +2369,7 @@
"destination": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "The target path of the converted file. Written to a temporary file if left empty"
}
}
diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json
index 68420dde80e..89c82843939 100644
--- a/apps/files_sharing/openapi.json
+++ b/apps/files_sharing/openapi.json
@@ -1490,6 +1490,13 @@
1
]
}
+ },
+ {
+ "name": "X-NC-Preview",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
}
],
"responses": {
@@ -1574,11 +1581,13 @@
"password": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Password of the share"
},
"dir": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Subdirectory to get info about"
},
"depth": {
@@ -1782,12 +1791,14 @@
"path": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Path of the share"
},
"permissions": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "Permissions for the share"
},
"shareType": {
@@ -1799,11 +1810,13 @@
"shareWith": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "The entity this should be shared with"
},
"publicUpload": {
"type": "string",
"nullable": true,
+ "default": null,
"enum": [
"true",
"false"
@@ -1818,11 +1831,13 @@
"sendPasswordByTalk": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Send the password for the share over Talk"
},
"expireDate": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "The expiry date of the share in the user's timezone at 00:00. If $expireDate is not supplied or set to `null`, the system default will be used."
},
"note": {
@@ -1838,11 +1853,13 @@
"attributes": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Additional attributes for the share"
},
"sendMail": {
"type": "string",
"nullable": true,
+ "default": null,
"enum": [
"false",
"true"
@@ -2297,56 +2314,67 @@
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "New permissions"
},
"password": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New password"
},
"sendPasswordByTalk": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New condition if the password should be send over Talk"
},
"publicUpload": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New condition if public uploading is allowed"
},
"expireDate": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New expiry date"
},
"note": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New note"
},
"label": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New label"
},
"hideDownload": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New condition if the download should be hidden"
},
"attributes": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New additional attributes"
},
"sendMail": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "if the share should be send by mail. Considering the share already exists, no mail will be send after the share is updated. You will have to use the sendMail action to send the mail."
},
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New token"
}
}
@@ -3099,7 +3127,8 @@
"description": "Limit to specific item types",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -3128,6 +3157,7 @@
"description": "Limit to specific share types",
"schema": {
"nullable": true,
+ "default": null,
"oneOf": [
{
"type": "integer",
@@ -3267,6 +3297,7 @@
"description": "Limit to specific share types",
"schema": {
"nullable": true,
+ "default": null,
"oneOf": [
{
"type": "integer",
diff --git a/apps/provisioning_api/openapi-administration.json b/apps/provisioning_api/openapi-administration.json
index 3c54be68194..84b1a12d2dd 100644
--- a/apps/provisioning_api/openapi-administration.json
+++ b/apps/provisioning_api/openapi-administration.json
@@ -381,7 +381,8 @@
"description": "Filter for enabled or disabled apps",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -1003,7 +1004,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
diff --git a/apps/provisioning_api/openapi-full.json b/apps/provisioning_api/openapi-full.json
index 9079404c35c..734c588be6b 100644
--- a/apps/provisioning_api/openapi-full.json
+++ b/apps/provisioning_api/openapi-full.json
@@ -428,7 +428,8 @@
"description": "Filter for enabled or disabled apps",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -885,7 +886,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -1230,7 +1232,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -2189,7 +2192,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -2438,7 +2442,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -2554,7 +2559,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -2695,6 +2701,7 @@
"manager": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Manager of the user"
}
}
@@ -2816,7 +2823,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -2932,7 +2940,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json
index 59f31a2c25d..d2fd2378488 100644
--- a/apps/provisioning_api/openapi.json
+++ b/apps/provisioning_api/openapi.json
@@ -437,7 +437,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -538,7 +539,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -787,7 +789,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -986,7 +989,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -1127,6 +1131,7 @@
"manager": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Manager of the user"
}
}
@@ -1248,7 +1253,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -1364,7 +1370,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json
index 2518f4acb73..26f5e7b8120 100644
--- a/apps/theming/openapi.json
+++ b/apps/theming/openapi.json
@@ -701,6 +701,7 @@
"color": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Color for the background"
}
}
diff --git a/apps/updatenotification/openapi.json b/apps/updatenotification/openapi.json
index 969dfc7cfaa..f635b0839ef 100644
--- a/apps/updatenotification/openapi.json
+++ b/apps/updatenotification/openapi.json
@@ -248,7 +248,8 @@
"description": "The version to search the changelog entry for (defaults to the latest installed)",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json
index a0d30693e37..65d9af59fef 100644
--- a/apps/user_status/openapi.json
+++ b/apps/user_status/openapi.json
@@ -427,7 +427,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -438,6 +439,7 @@
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"minimum": 0
}
},
diff --git a/apps/webhook_listeners/openapi.json b/apps/webhook_listeners/openapi.json
index 9e7acc5c6f8..84610d204bb 100644
--- a/apps/webhook_listeners/openapi.json
+++ b/apps/webhook_listeners/openapi.json
@@ -121,7 +121,8 @@
"description": "The callback URI to filter by",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -255,6 +256,13 @@
},
"parameters": [
{
+ "name": "EX-APP-ID",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
@@ -548,6 +556,13 @@
}
},
{
+ "name": "EX-APP-ID",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
diff --git a/core/openapi-ex_app.json b/core/openapi-ex_app.json
index 95a86e8e112..7f7612a03c9 100644
--- a/core/openapi-ex_app.json
+++ b/core/openapi-ex_app.json
@@ -754,6 +754,7 @@
"output": {
"type": "object",
"nullable": true,
+ "default": null,
"description": "The resulting task output, files are represented by their IDs",
"additionalProperties": {
"type": "object"
@@ -762,6 +763,7 @@
"errorMessage": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "An error message if the task failed"
}
}
diff --git a/core/openapi-full.json b/core/openapi-full.json
index b67bceff1d2..298be2e59d8 100644
--- a/core/openapi-full.json
+++ b/core/openapi-full.json
@@ -1173,6 +1173,13 @@
],
"parameters": [
{
+ "name": "USER_AGENT",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
@@ -1603,7 +1610,8 @@
"description": "can be piped, top prio first, e.g.: \"commenters|share-recipients\"",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -4003,6 +4011,7 @@
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "Timestamp of the last usage"
}
}
@@ -4197,11 +4206,13 @@
"webhookUri": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "URI to be requested when the task finishes"
},
"webhookMethod": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Method used for the webhook request (HTTP:GET, HTTP:POST, HTTP:PUT, HTTP:DELETE or AppAPI:APP_ID:GET, AppAPI:APP_ID:POST...)"
}
}
@@ -4710,7 +4721,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -4838,7 +4850,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -6046,7 +6059,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -6873,7 +6887,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -7412,7 +7427,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -7422,7 +7438,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -7431,6 +7448,7 @@
"description": "Offset for searching",
"schema": {
"nullable": true,
+ "default": null,
"oneOf": [
{
"type": "integer",
@@ -8046,6 +8064,15 @@
"basic_auth": []
}
],
+ "parameters": [
+ {
+ "name": "USER_AGENT",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "Login flow init returned",
@@ -9480,6 +9507,7 @@
"output": {
"type": "object",
"nullable": true,
+ "default": null,
"description": "The resulting task output, files are represented by their IDs",
"additionalProperties": {
"type": "object"
@@ -9488,6 +9516,7 @@
"errorMessage": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "An error message if the task failed"
}
}
diff --git a/core/openapi.json b/core/openapi.json
index 696b674d514..7462890bb4b 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -1173,6 +1173,13 @@
],
"parameters": [
{
+ "name": "USER_AGENT",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
@@ -1603,7 +1610,8 @@
"description": "can be piped, top prio first, e.g.: \"commenters|share-recipients\"",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -4003,6 +4011,7 @@
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "Timestamp of the last usage"
}
}
@@ -4197,11 +4206,13 @@
"webhookUri": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "URI to be requested when the task finishes"
},
"webhookMethod": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Method used for the webhook request (HTTP:GET, HTTP:POST, HTTP:PUT, HTTP:DELETE or AppAPI:APP_ID:GET, AppAPI:APP_ID:POST...)"
}
}
@@ -4710,7 +4721,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -4838,7 +4850,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -6046,7 +6059,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -6873,7 +6887,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -7412,7 +7427,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -7422,7 +7438,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -7431,6 +7448,7 @@
"description": "Offset for searching",
"schema": {
"nullable": true,
+ "default": null,
"oneOf": [
{
"type": "integer",
@@ -8046,6 +8064,15 @@
"basic_auth": []
}
],
+ "parameters": [
+ {
+ "name": "USER_AGENT",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "Login flow init returned",
diff --git a/openapi.json b/openapi.json
index cf1199fe6e7..b7350b4b1fa 100644
--- a/openapi.json
+++ b/openapi.json
@@ -4645,6 +4645,13 @@
],
"parameters": [
{
+ "name": "USER_AGENT",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
@@ -5075,7 +5082,8 @@
"description": "can be piped, top prio first, e.g.: \"commenters|share-recipients\"",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -7522,6 +7530,7 @@
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "Timestamp of the last usage"
}
}
@@ -7716,11 +7725,13 @@
"webhookUri": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "URI to be requested when the task finishes"
},
"webhookMethod": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Method used for the webhook request (HTTP:GET, HTTP:POST, HTTP:PUT, HTTP:DELETE or AppAPI:APP_ID:GET, AppAPI:APP_ID:POST...)"
}
}
@@ -8229,7 +8240,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -8357,7 +8369,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -9565,7 +9578,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -10392,7 +10406,8 @@
"description": "An arbitrary identifier for the task",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -10931,7 +10946,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -10941,7 +10957,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -10950,6 +10967,7 @@
"description": "Offset for searching",
"schema": {
"nullable": true,
+ "default": null,
"oneOf": [
{
"type": "integer",
@@ -11565,6 +11583,15 @@
"basic_auth": []
}
],
+ "parameters": [
+ {
+ "name": "USER_AGENT",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "Login flow init returned",
@@ -13002,6 +13029,7 @@
"output": {
"type": "object",
"nullable": true,
+ "default": null,
"description": "The resulting task output, files are represented by their IDs",
"additionalProperties": {
"type": "object"
@@ -13010,6 +13038,7 @@
"errorMessage": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "An error message if the task failed"
}
}
@@ -14677,7 +14706,8 @@
"description": "location/URL to filter by",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -15382,47 +15412,56 @@
"remote": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Address of the remote"
},
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"name": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Name of the shared resource"
},
"owner": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Display name of the receiver"
},
"sharedBy": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Display name of the sender"
},
"shareWith": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the user that receives the share"
},
"remoteId": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "ID of the remote"
},
"sharedByFederatedId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Federated ID of the sender"
},
"ownerFederatedId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Federated ID of the receiver"
}
}
@@ -15500,11 +15539,13 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"shareWith": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the user that receives the share"
},
"remoteId": {
@@ -15641,12 +15682,14 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"permissions": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "New permissions"
}
}
@@ -15762,6 +15805,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -15859,6 +15903,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -15946,6 +15991,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -16033,6 +16079,7 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
}
}
@@ -16148,16 +16195,19 @@
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Shared secret between servers"
},
"remote": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Address of the remote"
},
"remote_id": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the remote"
}
}
@@ -17507,12 +17557,14 @@
"editorId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the editor"
},
"fileId": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "ID of the file"
}
}
@@ -17692,6 +17744,7 @@
"templateId": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "ID of the template"
}
}
@@ -19026,6 +19079,7 @@
"destination": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "The target path of the converted file. Written to a temporary file if left empty"
}
}
@@ -19786,6 +19840,13 @@
1
]
}
+ },
+ {
+ "name": "X-NC-Preview",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
}
],
"responses": {
@@ -19870,11 +19931,13 @@
"password": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Password of the share"
},
"dir": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Subdirectory to get info about"
},
"depth": {
@@ -20078,12 +20141,14 @@
"path": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Path of the share"
},
"permissions": {
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "Permissions for the share"
},
"shareType": {
@@ -20095,11 +20160,13 @@
"shareWith": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "The entity this should be shared with"
},
"publicUpload": {
"type": "string",
"nullable": true,
+ "default": null,
"enum": [
"true",
"false"
@@ -20114,11 +20181,13 @@
"sendPasswordByTalk": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Send the password for the share over Talk"
},
"expireDate": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "The expiry date of the share in the user's timezone at 00:00. If $expireDate is not supplied or set to `null`, the system default will be used."
},
"note": {
@@ -20134,11 +20203,13 @@
"attributes": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Additional attributes for the share"
},
"sendMail": {
"type": "string",
"nullable": true,
+ "default": null,
"enum": [
"false",
"true"
@@ -20593,56 +20664,67 @@
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"description": "New permissions"
},
"password": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New password"
},
"sendPasswordByTalk": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New condition if the password should be send over Talk"
},
"publicUpload": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New condition if public uploading is allowed"
},
"expireDate": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New expiry date"
},
"note": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New note"
},
"label": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New label"
},
"hideDownload": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New condition if the download should be hidden"
},
"attributes": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New additional attributes"
},
"sendMail": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "if the share should be send by mail. Considering the share already exists, no mail will be send after the share is updated. You will have to use the sendMail action to send the mail."
},
"token": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "New token"
}
}
@@ -21395,7 +21477,8 @@
"description": "Limit to specific item types",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -21424,6 +21507,7 @@
"description": "Limit to specific share types",
"schema": {
"nullable": true,
+ "default": null,
"oneOf": [
{
"type": "integer",
@@ -21563,6 +21647,7 @@
"description": "Limit to specific share types",
"schema": {
"nullable": true,
+ "default": null,
"oneOf": [
{
"type": "integer",
@@ -22657,7 +22742,8 @@
"description": "Filter for enabled or disabled apps",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -23114,7 +23200,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -23459,7 +23546,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -24418,7 +24506,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -24667,7 +24756,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -24783,7 +24873,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -24924,6 +25015,7 @@
"manager": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Manager of the user"
}
}
@@ -25045,7 +25137,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -25161,7 +25254,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -27962,6 +28056,7 @@
"color": {
"type": "string",
"nullable": true,
+ "default": null,
"description": "Color for the background"
}
}
@@ -28479,7 +28574,8 @@
"description": "The version to search the changelog entry for (defaults to the latest installed)",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -29254,7 +29350,8 @@
"schema": {
"type": "integer",
"format": "int64",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -29265,6 +29362,7 @@
"type": "integer",
"format": "int64",
"nullable": true,
+ "default": null,
"minimum": 0
}
},
@@ -30575,7 +30673,8 @@
"description": "The callback URI to filter by",
"schema": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "default": null
}
},
{
@@ -30709,6 +30808,13 @@
},
"parameters": [
{
+ "name": "EX-APP-ID",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
@@ -31002,6 +31108,13 @@
}
},
{
+ "name": "EX-APP-ID",
+ "in": "header",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",