content.mjs 563 B

123456789101112131415
  1. // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
  2. import { APIResource } from "../../../resource.mjs";
  3. export class Content extends APIResource {
  4. /**
  5. * Retrieve Container File Content
  6. */
  7. retrieve(containerId, fileId, options) {
  8. return this._client.get(`/containers/${containerId}/files/${fileId}/content`, {
  9. ...options,
  10. headers: { Accept: 'application/binary', ...options?.headers },
  11. __binaryResponse: true,
  12. });
  13. }
  14. }
  15. //# sourceMappingURL=content.mjs.map