UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

18 lines 678 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from 'cloudflare/resource'; export class Blobs extends APIResource { /** * Fetch base image. For most images this will be the originally uploaded file. For * larger images it can be a near-lossless version of the original. */ get(imageId, params, options) { const { account_id } = params; return this._client.get(`/accounts/${account_id}/images/v1/${imageId}/blob`, { ...options, __binaryResponse: true, }); } } (function (Blobs) { })(Blobs || (Blobs = {})); //# sourceMappingURL=blobs.mjs.map