bunny-client
Version:
TypeScript API Client for BunnyCDN 🐰
21 lines • 887 B
TypeScript
import type { StorageZone } from "../types";
export interface GetStorageZoneRequest {
/**
* User-specific [API Key](https://dash.bunny.net/account/settings)
* @example "cb1a7c68-89a0-462a-9495-13ebd7366cfe"
*/
apiKey?: string;
/**
* The ID of the Storage Zone that should be returned
* @example 270299
*/
id: number;
}
export type GetStorageZoneResponse = StorageZone;
export declare const getStorageZone: import("untypeable/dist/client-ca591958").g<GetStorageZoneRequest, StorageZone>;
export declare const getStorageZoneEndpoints: {
readonly "GET /storagezone/:id": "GET /storagezone/:id";
readonly getStorageZone: "getStorageZone";
};
export declare function getStorageZoneClient(defaultRequestInit: RequestInit, { apiKey, id }: GetStorageZoneRequest): Promise<GetStorageZoneResponse>;
//# sourceMappingURL=getStorageZone.d.ts.map