cloudflare
Version:
The official TypeScript library for the Cloudflare API
15 lines • 604 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
export class Analyze extends APIResource {
/**
* Returns the set of hostnames, the signature algorithm, and the expiration date
* of the certificate.
*/
create(params, options) {
const { zone_id, ...body } = params;
return this._client.post(`/zones/${zone_id}/ssl/analyze`, { body, ...options })._thenUnwrap((obj) => obj.result);
}
}
(function (Analyze) {
})(Analyze || (Analyze = {}));
//# sourceMappingURL=analyze.mjs.map