aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/lib/Controller/ApiController.php1
-rw-r--r--apps/files/openapi.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php
index 9b9a0980389..9c683b7f41f 100644
--- a/apps/files/lib/Controller/ApiController.php
+++ b/apps/files/lib/Controller/ApiController.php
@@ -75,6 +75,7 @@ class ApiController extends Controller {
* Gets a thumbnail of the specified file
*
* @since API version 1.0
+ * @deprecated 32.0.0 Use the preview endpoint provided by core instead
*
* @param int $x Width of the thumbnail
* @param int $y Height of the thumbnail
diff --git a/apps/files/openapi.json b/apps/files/openapi.json
index c7f0e53d821..5766b1cce13 100644
--- a/apps/files/openapi.json
+++ b/apps/files/openapi.json
@@ -429,6 +429,7 @@
"get": {
"operationId": "api-get-thumbnail",
"summary": "Gets a thumbnail of the specified file",
+ "deprecated": true,
"tags": [
"api"
],