hostinger-api-sdk 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +81 -195
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +59 -99
- package/dist/api.js +55 -189
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +59 -99
- package/dist/esm/api.js +55 -189
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/HostingCacheApi.md +26 -130
- package/docs/HostingV1CacheToggleCacheRequest.md +20 -0
- package/docs/HostingV1CacheToggleCachelessModeRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.5.
|
|
4
|
+
* API Version: 1.5.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.5.
|
|
7
|
+
* API Version: 1.5.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.5.
|
|
4
|
+
* API Version: 1.5.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.5.
|
|
7
|
+
* API Version: 1.5.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.5.
|
|
4
|
+
* API Version: 1.5.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.5.
|
|
7
|
+
* API Version: 1.5.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.5.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.5.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.5.
|
|
4
|
+
* API Version: 1.5.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -2407,6 +2407,32 @@ export interface HostingListWebsitesV1200Response {
|
|
|
2407
2407
|
*/
|
|
2408
2408
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
2409
2409
|
}
|
|
2410
|
+
/**
|
|
2411
|
+
*
|
|
2412
|
+
* @export
|
|
2413
|
+
* @interface HostingV1CacheToggleCacheRequest
|
|
2414
|
+
*/
|
|
2415
|
+
export interface HostingV1CacheToggleCacheRequest {
|
|
2416
|
+
/**
|
|
2417
|
+
* Turn server-side caching on (true) or off (false) for the website.
|
|
2418
|
+
* @type {boolean}
|
|
2419
|
+
* @memberof HostingV1CacheToggleCacheRequest
|
|
2420
|
+
*/
|
|
2421
|
+
'enabled': boolean;
|
|
2422
|
+
}
|
|
2423
|
+
/**
|
|
2424
|
+
*
|
|
2425
|
+
* @export
|
|
2426
|
+
* @interface HostingV1CacheToggleCachelessModeRequest
|
|
2427
|
+
*/
|
|
2428
|
+
export interface HostingV1CacheToggleCachelessModeRequest {
|
|
2429
|
+
/**
|
|
2430
|
+
* Turn development (cacheless) mode on (true) or off (false) for the website.
|
|
2431
|
+
* @type {boolean}
|
|
2432
|
+
* @memberof HostingV1CacheToggleCachelessModeRequest
|
|
2433
|
+
*/
|
|
2434
|
+
'enabled': boolean;
|
|
2435
|
+
}
|
|
2410
2436
|
/**
|
|
2411
2437
|
*
|
|
2412
2438
|
* @export
|
|
@@ -8648,41 +8674,25 @@ export declare const HostingCacheApiAxiosParamCreator: (configuration?: Configur
|
|
|
8648
8674
|
*/
|
|
8649
8675
|
clearWebsiteCacheV1: (username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8650
8676
|
/**
|
|
8651
|
-
* Turns
|
|
8652
|
-
* @summary
|
|
8677
|
+
* Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing is cached, effectively turning off all caching for the website; use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable it after finishing development work to restore the performance benefits of caching.
|
|
8678
|
+
* @summary Toggle cacheless mode
|
|
8653
8679
|
* @param {string} username
|
|
8654
8680
|
* @param {string} domain Domain name
|
|
8681
|
+
* @param {HostingV1CacheToggleCachelessModeRequest} hostingV1CacheToggleCachelessModeRequest
|
|
8655
8682
|
* @param {*} [options] Override http request option.
|
|
8656
8683
|
* @throws {RequiredError}
|
|
8657
8684
|
*/
|
|
8658
|
-
|
|
8685
|
+
toggleCachelessModeV1: (username: string, domain: string, hostingV1CacheToggleCachelessModeRequest: HostingV1CacheToggleCachelessModeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8659
8686
|
/**
|
|
8660
|
-
* Turns
|
|
8661
|
-
* @summary
|
|
8687
|
+
* Turns server-side caching for the website on or off, based on the enabled flag. Enable it for faster page loads, reduced server load, and improved user experience; recommended for production websites. Disabling may impact performance; to temporarily bypass caching while developing or debugging, prefer toggling cacheless mode instead. Does nothing if caching is already in the requested state.
|
|
8688
|
+
* @summary Toggle website cache
|
|
8662
8689
|
* @param {string} username
|
|
8663
8690
|
* @param {string} domain Domain name
|
|
8691
|
+
* @param {HostingV1CacheToggleCacheRequest} hostingV1CacheToggleCacheRequest
|
|
8664
8692
|
* @param {*} [options] Override http request option.
|
|
8665
8693
|
* @throws {RequiredError}
|
|
8666
8694
|
*/
|
|
8667
|
-
|
|
8668
|
-
/**
|
|
8669
|
-
* Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
|
|
8670
|
-
* @summary Enable cacheless mode
|
|
8671
|
-
* @param {string} username
|
|
8672
|
-
* @param {string} domain Domain name
|
|
8673
|
-
* @param {*} [options] Override http request option.
|
|
8674
|
-
* @throws {RequiredError}
|
|
8675
|
-
*/
|
|
8676
|
-
enableCachelessModeV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8677
|
-
/**
|
|
8678
|
-
* Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
|
|
8679
|
-
* @summary Enable website cache
|
|
8680
|
-
* @param {string} username
|
|
8681
|
-
* @param {string} domain Domain name
|
|
8682
|
-
* @param {*} [options] Override http request option.
|
|
8683
|
-
* @throws {RequiredError}
|
|
8684
|
-
*/
|
|
8685
|
-
enableWebsiteCacheV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8695
|
+
toggleWebsiteCacheV1: (username: string, domain: string, hostingV1CacheToggleCacheRequest: HostingV1CacheToggleCacheRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8686
8696
|
};
|
|
8687
8697
|
/**
|
|
8688
8698
|
* HostingCacheApi - functional programming interface
|
|
@@ -8700,41 +8710,25 @@ export declare const HostingCacheApiFp: (configuration?: Configuration) => {
|
|
|
8700
8710
|
*/
|
|
8701
8711
|
clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8702
8712
|
/**
|
|
8703
|
-
* Turns
|
|
8704
|
-
* @summary
|
|
8705
|
-
* @param {string} username
|
|
8706
|
-
* @param {string} domain Domain name
|
|
8707
|
-
* @param {*} [options] Override http request option.
|
|
8708
|
-
* @throws {RequiredError}
|
|
8709
|
-
*/
|
|
8710
|
-
disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8711
|
-
/**
|
|
8712
|
-
* Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
|
|
8713
|
-
* @summary Disable website cache
|
|
8713
|
+
* Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing is cached, effectively turning off all caching for the website; use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable it after finishing development work to restore the performance benefits of caching.
|
|
8714
|
+
* @summary Toggle cacheless mode
|
|
8714
8715
|
* @param {string} username
|
|
8715
8716
|
* @param {string} domain Domain name
|
|
8717
|
+
* @param {HostingV1CacheToggleCachelessModeRequest} hostingV1CacheToggleCachelessModeRequest
|
|
8716
8718
|
* @param {*} [options] Override http request option.
|
|
8717
8719
|
* @throws {RequiredError}
|
|
8718
8720
|
*/
|
|
8719
|
-
|
|
8721
|
+
toggleCachelessModeV1(username: string, domain: string, hostingV1CacheToggleCachelessModeRequest: HostingV1CacheToggleCachelessModeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8720
8722
|
/**
|
|
8721
|
-
*
|
|
8722
|
-
* @summary
|
|
8723
|
+
* Turns server-side caching for the website on or off, based on the enabled flag. Enable it for faster page loads, reduced server load, and improved user experience; recommended for production websites. Disabling may impact performance; to temporarily bypass caching while developing or debugging, prefer toggling cacheless mode instead. Does nothing if caching is already in the requested state.
|
|
8724
|
+
* @summary Toggle website cache
|
|
8723
8725
|
* @param {string} username
|
|
8724
8726
|
* @param {string} domain Domain name
|
|
8727
|
+
* @param {HostingV1CacheToggleCacheRequest} hostingV1CacheToggleCacheRequest
|
|
8725
8728
|
* @param {*} [options] Override http request option.
|
|
8726
8729
|
* @throws {RequiredError}
|
|
8727
8730
|
*/
|
|
8728
|
-
|
|
8729
|
-
/**
|
|
8730
|
-
* Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
|
|
8731
|
-
* @summary Enable website cache
|
|
8732
|
-
* @param {string} username
|
|
8733
|
-
* @param {string} domain Domain name
|
|
8734
|
-
* @param {*} [options] Override http request option.
|
|
8735
|
-
* @throws {RequiredError}
|
|
8736
|
-
*/
|
|
8737
|
-
enableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8731
|
+
toggleWebsiteCacheV1(username: string, domain: string, hostingV1CacheToggleCacheRequest: HostingV1CacheToggleCacheRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8738
8732
|
};
|
|
8739
8733
|
/**
|
|
8740
8734
|
* HostingCacheApi - factory interface
|
|
@@ -8752,41 +8746,25 @@ export declare const HostingCacheApiFactory: (configuration?: Configuration, bas
|
|
|
8752
8746
|
*/
|
|
8753
8747
|
clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8754
8748
|
/**
|
|
8755
|
-
* Turns
|
|
8756
|
-
* @summary
|
|
8757
|
-
* @param {string} username
|
|
8758
|
-
* @param {string} domain Domain name
|
|
8759
|
-
* @param {*} [options] Override http request option.
|
|
8760
|
-
* @throws {RequiredError}
|
|
8761
|
-
*/
|
|
8762
|
-
disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8763
|
-
/**
|
|
8764
|
-
* Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
|
|
8765
|
-
* @summary Disable website cache
|
|
8766
|
-
* @param {string} username
|
|
8767
|
-
* @param {string} domain Domain name
|
|
8768
|
-
* @param {*} [options] Override http request option.
|
|
8769
|
-
* @throws {RequiredError}
|
|
8770
|
-
*/
|
|
8771
|
-
disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8772
|
-
/**
|
|
8773
|
-
* Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
|
|
8774
|
-
* @summary Enable cacheless mode
|
|
8749
|
+
* Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing is cached, effectively turning off all caching for the website; use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable it after finishing development work to restore the performance benefits of caching.
|
|
8750
|
+
* @summary Toggle cacheless mode
|
|
8775
8751
|
* @param {string} username
|
|
8776
8752
|
* @param {string} domain Domain name
|
|
8753
|
+
* @param {HostingV1CacheToggleCachelessModeRequest} hostingV1CacheToggleCachelessModeRequest
|
|
8777
8754
|
* @param {*} [options] Override http request option.
|
|
8778
8755
|
* @throws {RequiredError}
|
|
8779
8756
|
*/
|
|
8780
|
-
|
|
8757
|
+
toggleCachelessModeV1(username: string, domain: string, hostingV1CacheToggleCachelessModeRequest: HostingV1CacheToggleCachelessModeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8781
8758
|
/**
|
|
8782
|
-
* Turns
|
|
8783
|
-
* @summary
|
|
8759
|
+
* Turns server-side caching for the website on or off, based on the enabled flag. Enable it for faster page loads, reduced server load, and improved user experience; recommended for production websites. Disabling may impact performance; to temporarily bypass caching while developing or debugging, prefer toggling cacheless mode instead. Does nothing if caching is already in the requested state.
|
|
8760
|
+
* @summary Toggle website cache
|
|
8784
8761
|
* @param {string} username
|
|
8785
8762
|
* @param {string} domain Domain name
|
|
8763
|
+
* @param {HostingV1CacheToggleCacheRequest} hostingV1CacheToggleCacheRequest
|
|
8786
8764
|
* @param {*} [options] Override http request option.
|
|
8787
8765
|
* @throws {RequiredError}
|
|
8788
8766
|
*/
|
|
8789
|
-
|
|
8767
|
+
toggleWebsiteCacheV1(username: string, domain: string, hostingV1CacheToggleCacheRequest: HostingV1CacheToggleCacheRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8790
8768
|
};
|
|
8791
8769
|
/**
|
|
8792
8770
|
* HostingCacheApi - object-oriented interface
|
|
@@ -8807,45 +8785,27 @@ export declare class HostingCacheApi extends BaseAPI {
|
|
|
8807
8785
|
*/
|
|
8808
8786
|
clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8809
8787
|
/**
|
|
8810
|
-
* Turns
|
|
8811
|
-
* @summary
|
|
8812
|
-
* @param {string} username
|
|
8813
|
-
* @param {string} domain Domain name
|
|
8814
|
-
* @param {*} [options] Override http request option.
|
|
8815
|
-
* @throws {RequiredError}
|
|
8816
|
-
* @memberof HostingCacheApi
|
|
8817
|
-
*/
|
|
8818
|
-
disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8819
|
-
/**
|
|
8820
|
-
* Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
|
|
8821
|
-
* @summary Disable website cache
|
|
8822
|
-
* @param {string} username
|
|
8823
|
-
* @param {string} domain Domain name
|
|
8824
|
-
* @param {*} [options] Override http request option.
|
|
8825
|
-
* @throws {RequiredError}
|
|
8826
|
-
* @memberof HostingCacheApi
|
|
8827
|
-
*/
|
|
8828
|
-
disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8829
|
-
/**
|
|
8830
|
-
* Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
|
|
8831
|
-
* @summary Enable cacheless mode
|
|
8788
|
+
* Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing is cached, effectively turning off all caching for the website; use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable it after finishing development work to restore the performance benefits of caching.
|
|
8789
|
+
* @summary Toggle cacheless mode
|
|
8832
8790
|
* @param {string} username
|
|
8833
8791
|
* @param {string} domain Domain name
|
|
8792
|
+
* @param {HostingV1CacheToggleCachelessModeRequest} hostingV1CacheToggleCachelessModeRequest
|
|
8834
8793
|
* @param {*} [options] Override http request option.
|
|
8835
8794
|
* @throws {RequiredError}
|
|
8836
8795
|
* @memberof HostingCacheApi
|
|
8837
8796
|
*/
|
|
8838
|
-
|
|
8797
|
+
toggleCachelessModeV1(username: string, domain: string, hostingV1CacheToggleCachelessModeRequest: HostingV1CacheToggleCachelessModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8839
8798
|
/**
|
|
8840
|
-
* Turns
|
|
8841
|
-
* @summary
|
|
8799
|
+
* Turns server-side caching for the website on or off, based on the enabled flag. Enable it for faster page loads, reduced server load, and improved user experience; recommended for production websites. Disabling may impact performance; to temporarily bypass caching while developing or debugging, prefer toggling cacheless mode instead. Does nothing if caching is already in the requested state.
|
|
8800
|
+
* @summary Toggle website cache
|
|
8842
8801
|
* @param {string} username
|
|
8843
8802
|
* @param {string} domain Domain name
|
|
8803
|
+
* @param {HostingV1CacheToggleCacheRequest} hostingV1CacheToggleCacheRequest
|
|
8844
8804
|
* @param {*} [options] Override http request option.
|
|
8845
8805
|
* @throws {RequiredError}
|
|
8846
8806
|
* @memberof HostingCacheApi
|
|
8847
8807
|
*/
|
|
8848
|
-
|
|
8808
|
+
toggleWebsiteCacheV1(username: string, domain: string, hostingV1CacheToggleCacheRequest: HostingV1CacheToggleCacheRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8849
8809
|
}
|
|
8850
8810
|
/**
|
|
8851
8811
|
* HostingCronJobsApi - axios parameter creator
|