For the complete documentation index, see llms.txt. This page is also available as Markdown.

getDetailFile()

Before getting each file type, we use this method to get some information necessary.

Syntax

getDetailFile: (id: string | number)

Params

Name
Type
Required
Description

id

string or number

Yes

The file id.

Example

import { getDetailFile } from "@eueno/lib-browser";

const getFile = async (id, token) => {
 try {
   let id = "244231";
   const response = await getDetailFile(id);
   console.log(response);
 } catch (error) {
   console.log(error);
 }
};

Response

Last updated