mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix(docs): document that fullsize thumbnail might redirect to original (#25416)
This commit is contained in:
Generated
+2
-2
@@ -1691,7 +1691,7 @@ class AssetsApi {
|
|||||||
|
|
||||||
/// View asset thumbnail
|
/// View asset thumbnail
|
||||||
///
|
///
|
||||||
/// Retrieve the thumbnail image for the specified asset.
|
/// Retrieve the thumbnail image for the specified asset. Viewing the fullsize thumbnail might redirect to downloadAsset, which requires a different permission.
|
||||||
///
|
///
|
||||||
/// Note: This method returns the HTTP [Response].
|
/// Note: This method returns the HTTP [Response].
|
||||||
///
|
///
|
||||||
@@ -1747,7 +1747,7 @@ class AssetsApi {
|
|||||||
|
|
||||||
/// View asset thumbnail
|
/// View asset thumbnail
|
||||||
///
|
///
|
||||||
/// Retrieve the thumbnail image for the specified asset.
|
/// Retrieve the thumbnail image for the specified asset. Viewing the fullsize thumbnail might redirect to downloadAsset, which requires a different permission.
|
||||||
///
|
///
|
||||||
/// Parameters:
|
/// Parameters:
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -4279,7 +4279,7 @@
|
|||||||
},
|
},
|
||||||
"/assets/{id}/thumbnail": {
|
"/assets/{id}/thumbnail": {
|
||||||
"get": {
|
"get": {
|
||||||
"description": "Retrieve the thumbnail image for the specified asset.",
|
"description": "Retrieve the thumbnail image for the specified asset. Viewing the fullsize thumbnail might redirect to downloadAsset, which requires a different permission.",
|
||||||
"operationId": "viewAsset",
|
"operationId": "viewAsset",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -147,7 +147,8 @@ export class AssetMediaController {
|
|||||||
@Authenticated({ permission: Permission.AssetView, sharedLink: true })
|
@Authenticated({ permission: Permission.AssetView, sharedLink: true })
|
||||||
@Endpoint({
|
@Endpoint({
|
||||||
summary: 'View asset thumbnail',
|
summary: 'View asset thumbnail',
|
||||||
description: 'Retrieve the thumbnail image for the specified asset.',
|
description:
|
||||||
|
'Retrieve the thumbnail image for the specified asset. Viewing the fullsize thumbnail might redirect to downloadAsset, which requires a different permission.',
|
||||||
history: new HistoryBuilder().added('v1').beta('v1').stable('v2'),
|
history: new HistoryBuilder().added('v1').beta('v1').stable('v2'),
|
||||||
})
|
})
|
||||||
async viewAsset(
|
async viewAsset(
|
||||||
|
|||||||
Reference in New Issue
Block a user