UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

15 lines 567 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../resource.mjs"; export class Configs extends APIResource { /** * Gets a history of published Zaraz configurations by ID(s) for a zone. */ get(params, options) { const { zone_id, ...query } = params; return this._client.get(`/zones/${zone_id}/settings/zaraz/history/configs`, { query, ...options, })._thenUnwrap((obj) => obj.result); } } //# sourceMappingURL=configs.mjs.map