D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
washeet.softurecs.com
/
node_modules
/
openai
/
resources
/
containers
/
files
/
Filename :
content.mjs
back
Copy
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../core/resource.mjs"; import { buildHeaders } from "../../../internal/headers.mjs"; import { path } from "../../../internal/utils/path.mjs"; export class Content extends APIResource { /** * Retrieve Container File Content */ retrieve(fileID, params, options) { const { container_id } = params; return this._client.get(path `/containers/${container_id}/files/${fileID}/content`, { ...options, headers: buildHeaders([{ Accept: 'application/binary' }, options?.headers]), __binaryResponse: true, }); } } //# sourceMappingURL=content.mjs.map