cloudflare
Version:
The official TypeScript library for the Cloudflare API
19 lines • 630 B
TypeScript
import { APIResource } from "../../resource.js";
import * as Core from "../../core.js";
import { type Response } from "../../_shims/index.js";
export declare class Content extends APIResource {
/**
* Fetches the content of a snippet belonging to the zone.
*/
get(snippetName: string, params: ContentGetParams, options?: Core.RequestOptions): Core.APIPromise<Response>;
}
export interface ContentGetParams {
/**
* The unique ID of the zone.
*/
zone_id: string;
}
export declare namespace Content {
export { type ContentGetParams as ContentGetParams };
}
//# sourceMappingURL=content.d.ts.map