frigate/docs/docs/integrations/api/preview-thumbnail-preview-file-name-thumbnail-jpg-get.api.mdx
Victor Tramontina 759c94cb34 att
2025-08-05 15:00:44 -03:00

70 lines
2.7 KiB
Plaintext

---
id: preview-thumbnail-preview-file-name-thumbnail-jpg-get
title: "Preview Thumbnail"
description: "Get a thumbnail from the cached preview frames."
sidebar_label: "Preview Thumbnail"
hide_title: true
hide_table_of_contents: true
api: eJydVE2P0zAQ/SvRnECymu4KLrkhsSxILKyWwqWKqmkySVyc2GtPClXk/46cr7ZbdiU4JZp5M37z/MYdMJYOkjXcUS4RUgE5ucxKw1I3kMAtcYQRV229bVCqqLC6jriiKMOsojwylvaSfkWFxZrcAgRoQxZD9accEhjzm7nDZopsCqlo02BNm5PszpSbkhgEGAwtmWyg10EAQgJzEQiQgaBBrkCApcdWWsohYduSAJdVVCMkHfDBhELHVjYlCGDJKgQ+SEXRl9DJ+zQ0cEY3jlyouV4uw+dcim9tlpFzRauihxEMAjLdMDUc4GiMklk/e7xzoaY78vDeewFvrq8vG/9AJfO+LLqxVtt/6ArGBr1ZDrxzYpQq/Emm2l0ClM7Ostgcvha9vucyeTFHZMNUkgWfejHF0Fo8nGj5WQ8EwQuoXfmS7HfkHJYEc7Pnob0Y0Spk/fFsvd1RxmdXvu7nGo4ecemxzVHeQd3nx3g/yPe3wybIx9Xq/qLhcLc1caWD5yf/cgUJxKPf4262ro9nvy92JlB2ZPeT0VurIIGK2bgkjnOq9aKwskSmxV7mpGM0sr+fIzCJY6UzVJV2nLxdLq8GTBpWpNC9xCN9EBAOGny3XFwtlkEOox3X2DtrXLP7ca1XE1F48jB0R4v+xxsxqsv0m2OjUPbG6efpRt3W08sBApLTpT+XLhUQhg74rtuio+9WeR/Cjy3ZAyTrVMAercRtmH/dQS5d+M8hKVA5emGsVw+jwV5Hz1GefNQEF+1RtaPGP+lw9lb1u1MR5mR7EkP+XZaR4ZPKi1UPVzjb6vZmBd7/Aetn9QM=
sidebar_class_name: "get api-method"
custom_edit_url: null
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Preview Thumbnail"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/preview/{file_name}/thumbnail.jpg"}
context={"endpoint"}
>
</MethodEndpoint>
Get a thumbnail from the cached preview frames.
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<ParamsDetails
parameters={[{"name":"file_name","in":"path","required":true,"schema":{"type":"string","title":"File Name"}}]}
>
</ParamsDetails>
<RequestSchema
title={"Body"}
body={undefined}
>
</RequestSchema>
<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}}
>
</StatusCodes>