Retrieves a file details by its unique key.
Arguments
key: The unique key of the file to retrieve.Returns
Promise<BreezeFileType> Promise that resolves to the file's details or null if the file cannot be found.import { BreezeUploader } from "breeze-uploader-sdk";
const breeze = new BreezeUploader({
apiKey: "YOUR_API_KEY",
secretKey: "YOUR_SECRET_KEY",
});
await breeze.getFileByKey({ key: "YOUR_FILE_KEY" });