@hostinger/sdk 1.52.1 → 1.52.2
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 +450 -18
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +317 -16
- package/dist/api.js +250 -15
- 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 +317 -16
- package/dist/esm/api.js +250 -15
- 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/HostingGitApi.md +178 -2
- package/docs/HostingNodeJSApi.md +1 -1
- package/docs/HostingV1GitGitAutoDeploymentSettingsResource.md +31 -0
- package/docs/HostingV1GitGitCommitAuthorResource.md +22 -0
- package/docs/HostingV1GitGitCommitResource.md +24 -0
- package/docs/HostingV1GitUpdateGitAutoDeploymentSettingsRequest.md +30 -0
- package/docs/HostingV1NodeJsSourceOptionsResource.md +11 -0
- package/docs/HostingV1NodeJsStartBuildRequest.md +1 -1
- package/docs/HostingV1NodeJsStartBuildRequestSourceOptions.md +9 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.52.
|
|
4
|
+
* API Version: 1.52.2
|
|
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
|
|
@@ -7209,6 +7209,93 @@ export interface HostingV1FilesUploadUrlResource {
|
|
|
7209
7209
|
*/
|
|
7210
7210
|
'rest_auth_key': string;
|
|
7211
7211
|
}
|
|
7212
|
+
/**
|
|
7213
|
+
* Every field is null when the website has no Git auto-deployment configured.
|
|
7214
|
+
* @export
|
|
7215
|
+
* @interface HostingV1GitGitAutoDeploymentSettingsResource
|
|
7216
|
+
*/
|
|
7217
|
+
export interface HostingV1GitGitAutoDeploymentSettingsResource {
|
|
7218
|
+
/**
|
|
7219
|
+
* Git installation the repository is accessed through
|
|
7220
|
+
* @type {string}
|
|
7221
|
+
* @memberof HostingV1GitGitAutoDeploymentSettingsResource
|
|
7222
|
+
*/
|
|
7223
|
+
'installation_uuid': string | null;
|
|
7224
|
+
/**
|
|
7225
|
+
* Whether pushes to the branch deploy automatically
|
|
7226
|
+
* @type {boolean}
|
|
7227
|
+
* @memberof HostingV1GitGitAutoDeploymentSettingsResource
|
|
7228
|
+
*/
|
|
7229
|
+
'is_enabled': boolean | null;
|
|
7230
|
+
/**
|
|
7231
|
+
* Repository owner login
|
|
7232
|
+
* @type {string}
|
|
7233
|
+
* @memberof HostingV1GitGitAutoDeploymentSettingsResource
|
|
7234
|
+
*/
|
|
7235
|
+
'owner': string | null;
|
|
7236
|
+
/**
|
|
7237
|
+
* Repository name
|
|
7238
|
+
* @type {string}
|
|
7239
|
+
* @memberof HostingV1GitGitAutoDeploymentSettingsResource
|
|
7240
|
+
*/
|
|
7241
|
+
'repository': string | null;
|
|
7242
|
+
/**
|
|
7243
|
+
* Branch that is deployed
|
|
7244
|
+
* @type {string}
|
|
7245
|
+
* @memberof HostingV1GitGitAutoDeploymentSettingsResource
|
|
7246
|
+
*/
|
|
7247
|
+
'branch': string | null;
|
|
7248
|
+
/**
|
|
7249
|
+
* Subdirectory under the website document root the repository deploys into. Empty means the document root.
|
|
7250
|
+
* @type {string}
|
|
7251
|
+
* @memberof HostingV1GitGitAutoDeploymentSettingsResource
|
|
7252
|
+
*/
|
|
7253
|
+
'directory': string | null;
|
|
7254
|
+
}
|
|
7255
|
+
/**
|
|
7256
|
+
*
|
|
7257
|
+
* @export
|
|
7258
|
+
* @interface HostingV1GitGitCommitAuthorResource
|
|
7259
|
+
*/
|
|
7260
|
+
export interface HostingV1GitGitCommitAuthorResource {
|
|
7261
|
+
/**
|
|
7262
|
+
* Author name as recorded in the commit
|
|
7263
|
+
* @type {string}
|
|
7264
|
+
* @memberof HostingV1GitGitCommitAuthorResource
|
|
7265
|
+
*/
|
|
7266
|
+
'name': string;
|
|
7267
|
+
/**
|
|
7268
|
+
* Avatar URL of the author on the Git provider
|
|
7269
|
+
* @type {string}
|
|
7270
|
+
* @memberof HostingV1GitGitCommitAuthorResource
|
|
7271
|
+
*/
|
|
7272
|
+
'avatar_url': string | null;
|
|
7273
|
+
}
|
|
7274
|
+
/**
|
|
7275
|
+
*
|
|
7276
|
+
* @export
|
|
7277
|
+
* @interface HostingV1GitGitCommitResource
|
|
7278
|
+
*/
|
|
7279
|
+
export interface HostingV1GitGitCommitResource {
|
|
7280
|
+
/**
|
|
7281
|
+
* Full commit SHA
|
|
7282
|
+
* @type {string}
|
|
7283
|
+
* @memberof HostingV1GitGitCommitResource
|
|
7284
|
+
*/
|
|
7285
|
+
'hash': string;
|
|
7286
|
+
/**
|
|
7287
|
+
* Commit message
|
|
7288
|
+
* @type {string}
|
|
7289
|
+
* @memberof HostingV1GitGitCommitResource
|
|
7290
|
+
*/
|
|
7291
|
+
'message': string;
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @type {HostingV1GitGitCommitAuthorResource}
|
|
7295
|
+
* @memberof HostingV1GitGitCommitResource
|
|
7296
|
+
*/
|
|
7297
|
+
'author': HostingV1GitGitCommitAuthorResource;
|
|
7298
|
+
}
|
|
7212
7299
|
/**
|
|
7213
7300
|
*
|
|
7214
7301
|
* @export
|
|
@@ -7342,6 +7429,49 @@ export interface HostingV1GitGitRepositoryResource {
|
|
|
7342
7429
|
*/
|
|
7343
7430
|
'default_branch': string;
|
|
7344
7431
|
}
|
|
7432
|
+
/**
|
|
7433
|
+
*
|
|
7434
|
+
* @export
|
|
7435
|
+
* @interface HostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
7436
|
+
*/
|
|
7437
|
+
export interface HostingV1GitUpdateGitAutoDeploymentSettingsRequest {
|
|
7438
|
+
/**
|
|
7439
|
+
* Active Git installation from `List Git installations`
|
|
7440
|
+
* @type {string}
|
|
7441
|
+
* @memberof HostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
7442
|
+
*/
|
|
7443
|
+
'installation_uuid': string;
|
|
7444
|
+
/**
|
|
7445
|
+
* Repository owner login, as returned by `List Git installation repositories`. GitLab group paths use slashes.
|
|
7446
|
+
* @type {string}
|
|
7447
|
+
* @memberof HostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
7448
|
+
*/
|
|
7449
|
+
'owner': string;
|
|
7450
|
+
/**
|
|
7451
|
+
* Repository name without the .git suffix
|
|
7452
|
+
* @type {string}
|
|
7453
|
+
* @memberof HostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
7454
|
+
*/
|
|
7455
|
+
'repository': string;
|
|
7456
|
+
/**
|
|
7457
|
+
* Branch to deploy
|
|
7458
|
+
* @type {string}
|
|
7459
|
+
* @memberof HostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
7460
|
+
*/
|
|
7461
|
+
'branch': string;
|
|
7462
|
+
/**
|
|
7463
|
+
* Subdirectory under the website document root to deploy into. Empty, null or omitted means the document root.
|
|
7464
|
+
* @type {string}
|
|
7465
|
+
* @memberof HostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
7466
|
+
*/
|
|
7467
|
+
'directory': string | null;
|
|
7468
|
+
/**
|
|
7469
|
+
* Whether pushes to the branch deploy automatically
|
|
7470
|
+
* @type {boolean}
|
|
7471
|
+
* @memberof HostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
7472
|
+
*/
|
|
7473
|
+
'is_enabled': boolean;
|
|
7474
|
+
}
|
|
7345
7475
|
/**
|
|
7346
7476
|
*
|
|
7347
7477
|
* @export
|
|
@@ -7471,6 +7601,7 @@ export declare const HostingV1NodeJsBuildOptionsResourcePackageManagerEnum: {
|
|
|
7471
7601
|
export type HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = typeof HostingV1NodeJsBuildOptionsResourcePackageManagerEnum[keyof typeof HostingV1NodeJsBuildOptionsResourcePackageManagerEnum];
|
|
7472
7602
|
export declare const HostingV1NodeJsBuildOptionsResourceSourceTypeEnum: {
|
|
7473
7603
|
readonly Archive: "archive";
|
|
7604
|
+
readonly Git: "git";
|
|
7474
7605
|
};
|
|
7475
7606
|
export type HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = typeof HostingV1NodeJsBuildOptionsResourceSourceTypeEnum[keyof typeof HostingV1NodeJsBuildOptionsResourceSourceTypeEnum];
|
|
7476
7607
|
/**
|
|
@@ -7855,7 +7986,7 @@ export interface HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner {
|
|
|
7855
7986
|
'value': string;
|
|
7856
7987
|
}
|
|
7857
7988
|
/**
|
|
7858
|
-
*
|
|
7989
|
+
* Which keys carry values depends on the parent source_type; the others are null.
|
|
7859
7990
|
* @export
|
|
7860
7991
|
* @interface HostingV1NodeJsSourceOptionsResource
|
|
7861
7992
|
*/
|
|
@@ -7866,6 +7997,36 @@ export interface HostingV1NodeJsSourceOptionsResource {
|
|
|
7866
7997
|
* @memberof HostingV1NodeJsSourceOptionsResource
|
|
7867
7998
|
*/
|
|
7868
7999
|
'archive_path': string | null;
|
|
8000
|
+
/**
|
|
8001
|
+
* Repository owner login (present if source_type is \"git\")
|
|
8002
|
+
* @type {string}
|
|
8003
|
+
* @memberof HostingV1NodeJsSourceOptionsResource
|
|
8004
|
+
*/
|
|
8005
|
+
'owner': string | null;
|
|
8006
|
+
/**
|
|
8007
|
+
* Repository name without the .git suffix (present if source_type is \"git\")
|
|
8008
|
+
* @type {string}
|
|
8009
|
+
* @memberof HostingV1NodeJsSourceOptionsResource
|
|
8010
|
+
*/
|
|
8011
|
+
'repository': string | null;
|
|
8012
|
+
/**
|
|
8013
|
+
* Branch that was built (present if source_type is \"git\")
|
|
8014
|
+
* @type {string}
|
|
8015
|
+
* @memberof HostingV1NodeJsSourceOptionsResource
|
|
8016
|
+
*/
|
|
8017
|
+
'branch': string | null;
|
|
8018
|
+
/**
|
|
8019
|
+
* Git installation used to access the repository (present if source_type is \"git\")
|
|
8020
|
+
* @type {string}
|
|
8021
|
+
* @memberof HostingV1NodeJsSourceOptionsResource
|
|
8022
|
+
*/
|
|
8023
|
+
'installation_uuid': string | null;
|
|
8024
|
+
/**
|
|
8025
|
+
*
|
|
8026
|
+
* @type {HostingV1GitGitCommitResource}
|
|
8027
|
+
* @memberof HostingV1NodeJsSourceOptionsResource
|
|
8028
|
+
*/
|
|
8029
|
+
'commit': HostingV1GitGitCommitResource | null;
|
|
7869
8030
|
}
|
|
7870
8031
|
/**
|
|
7871
8032
|
*
|
|
@@ -7916,7 +8077,7 @@ export interface HostingV1NodeJsStartBuildRequest {
|
|
|
7916
8077
|
*/
|
|
7917
8078
|
'package_manager': HostingV1NodeJsStartBuildRequestPackageManagerEnum | null;
|
|
7918
8079
|
/**
|
|
7919
|
-
*
|
|
8080
|
+
* Where the files come from: `archive` (an uploaded archive on the website) or `git` (a branch of a repository reachable through a Git installation).
|
|
7920
8081
|
* @type {string}
|
|
7921
8082
|
* @memberof HostingV1NodeJsStartBuildRequest
|
|
7922
8083
|
*/
|
|
@@ -7965,10 +8126,11 @@ export declare const HostingV1NodeJsStartBuildRequestPackageManagerEnum: {
|
|
|
7965
8126
|
export type HostingV1NodeJsStartBuildRequestPackageManagerEnum = typeof HostingV1NodeJsStartBuildRequestPackageManagerEnum[keyof typeof HostingV1NodeJsStartBuildRequestPackageManagerEnum];
|
|
7966
8127
|
export declare const HostingV1NodeJsStartBuildRequestSourceTypeEnum: {
|
|
7967
8128
|
readonly Archive: "archive";
|
|
8129
|
+
readonly Git: "git";
|
|
7968
8130
|
};
|
|
7969
8131
|
export type HostingV1NodeJsStartBuildRequestSourceTypeEnum = typeof HostingV1NodeJsStartBuildRequestSourceTypeEnum[keyof typeof HostingV1NodeJsStartBuildRequestSourceTypeEnum];
|
|
7970
8132
|
/**
|
|
7971
|
-
* Source-specific options
|
|
8133
|
+
* Source-specific options. For `archive` send `archive_path`. For `git` send `owner`, `repository`, `branch` and `installation_uuid`, taken from `List Git installations` and `List Git installation repositories`.
|
|
7972
8134
|
* @export
|
|
7973
8135
|
* @interface HostingV1NodeJsStartBuildRequestSourceOptions
|
|
7974
8136
|
*/
|
|
@@ -7979,6 +8141,30 @@ export interface HostingV1NodeJsStartBuildRequestSourceOptions {
|
|
|
7979
8141
|
* @memberof HostingV1NodeJsStartBuildRequestSourceOptions
|
|
7980
8142
|
*/
|
|
7981
8143
|
'archive_path': string;
|
|
8144
|
+
/**
|
|
8145
|
+
* Repository owner login (required if source is \"git\"). GitLab group paths use slashes.
|
|
8146
|
+
* @type {string}
|
|
8147
|
+
* @memberof HostingV1NodeJsStartBuildRequestSourceOptions
|
|
8148
|
+
*/
|
|
8149
|
+
'owner': string;
|
|
8150
|
+
/**
|
|
8151
|
+
* Repository name without the .git suffix (required if source is \"git\")
|
|
8152
|
+
* @type {string}
|
|
8153
|
+
* @memberof HostingV1NodeJsStartBuildRequestSourceOptions
|
|
8154
|
+
*/
|
|
8155
|
+
'repository': string;
|
|
8156
|
+
/**
|
|
8157
|
+
* Branch to build (required if source is \"git\")
|
|
8158
|
+
* @type {string}
|
|
8159
|
+
* @memberof HostingV1NodeJsStartBuildRequestSourceOptions
|
|
8160
|
+
*/
|
|
8161
|
+
'branch': string;
|
|
8162
|
+
/**
|
|
8163
|
+
* Git installation used to access the repository (required if source is \"git\")
|
|
8164
|
+
* @type {string}
|
|
8165
|
+
* @memberof HostingV1NodeJsStartBuildRequestSourceOptions
|
|
8166
|
+
*/
|
|
8167
|
+
'installation_uuid': string;
|
|
7982
8168
|
}
|
|
7983
8169
|
/**
|
|
7984
8170
|
*
|
|
@@ -23204,7 +23390,25 @@ export type ListWebsiteFilesAndDirectoriesV1FileTypesEnum = typeof ListWebsiteFi
|
|
|
23204
23390
|
*/
|
|
23205
23391
|
export declare const HostingGitApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23206
23392
|
/**
|
|
23207
|
-
*
|
|
23393
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
23394
|
+
* @summary Delete Git auto-deployment settings
|
|
23395
|
+
* @param {string} username
|
|
23396
|
+
* @param {string} domain Domain name
|
|
23397
|
+
* @param {*} [options] Override http request option.
|
|
23398
|
+
* @throws {RequiredError}
|
|
23399
|
+
*/
|
|
23400
|
+
deleteGitAutoDeploymentSettingsV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23401
|
+
/**
|
|
23402
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
23403
|
+
* @summary Get Git auto-deployment settings
|
|
23404
|
+
* @param {string} username
|
|
23405
|
+
* @param {string} domain Domain name
|
|
23406
|
+
* @param {*} [options] Override http request option.
|
|
23407
|
+
* @throws {RequiredError}
|
|
23408
|
+
*/
|
|
23409
|
+
getGitAutoDeploymentSettingsV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23410
|
+
/**
|
|
23411
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
23208
23412
|
* @summary List Git installation repositories
|
|
23209
23413
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
23210
23414
|
* @param {*} [options] Override http request option.
|
|
@@ -23212,7 +23416,7 @@ export declare const HostingGitApiAxiosParamCreator: (configuration?: Configurat
|
|
|
23212
23416
|
*/
|
|
23213
23417
|
listGitInstallationRepositoriesV1: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23214
23418
|
/**
|
|
23215
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
23419
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
23216
23420
|
* @summary List Git installations
|
|
23217
23421
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
23218
23422
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -23220,6 +23424,16 @@ export declare const HostingGitApiAxiosParamCreator: (configuration?: Configurat
|
|
|
23220
23424
|
* @throws {RequiredError}
|
|
23221
23425
|
*/
|
|
23222
23426
|
listGitInstallationsV1: (provider?: ListGitInstallationsV1ProviderEnum, status?: ListGitInstallationsV1StatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23427
|
+
/**
|
|
23428
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
23429
|
+
* @summary Update Git auto-deployment settings
|
|
23430
|
+
* @param {string} username
|
|
23431
|
+
* @param {string} domain Domain name
|
|
23432
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
23433
|
+
* @param {*} [options] Override http request option.
|
|
23434
|
+
* @throws {RequiredError}
|
|
23435
|
+
*/
|
|
23436
|
+
updateGitAutoDeploymentSettingsV1: (username: string, domain: string, hostingV1GitUpdateGitAutoDeploymentSettingsRequest: HostingV1GitUpdateGitAutoDeploymentSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23223
23437
|
};
|
|
23224
23438
|
/**
|
|
23225
23439
|
* HostingGitApi - functional programming interface
|
|
@@ -23227,7 +23441,25 @@ export declare const HostingGitApiAxiosParamCreator: (configuration?: Configurat
|
|
|
23227
23441
|
*/
|
|
23228
23442
|
export declare const HostingGitApiFp: (configuration?: Configuration) => {
|
|
23229
23443
|
/**
|
|
23230
|
-
*
|
|
23444
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
23445
|
+
* @summary Delete Git auto-deployment settings
|
|
23446
|
+
* @param {string} username
|
|
23447
|
+
* @param {string} domain Domain name
|
|
23448
|
+
* @param {*} [options] Override http request option.
|
|
23449
|
+
* @throws {RequiredError}
|
|
23450
|
+
*/
|
|
23451
|
+
deleteGitAutoDeploymentSettingsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23452
|
+
/**
|
|
23453
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
23454
|
+
* @summary Get Git auto-deployment settings
|
|
23455
|
+
* @param {string} username
|
|
23456
|
+
* @param {string} domain Domain name
|
|
23457
|
+
* @param {*} [options] Override http request option.
|
|
23458
|
+
* @throws {RequiredError}
|
|
23459
|
+
*/
|
|
23460
|
+
getGitAutoDeploymentSettingsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1GitGitAutoDeploymentSettingsResource>>;
|
|
23461
|
+
/**
|
|
23462
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
23231
23463
|
* @summary List Git installation repositories
|
|
23232
23464
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
23233
23465
|
* @param {*} [options] Override http request option.
|
|
@@ -23235,7 +23467,7 @@ export declare const HostingGitApiFp: (configuration?: Configuration) => {
|
|
|
23235
23467
|
*/
|
|
23236
23468
|
listGitInstallationRepositoriesV1(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1GitGitRepositoryResource>>>;
|
|
23237
23469
|
/**
|
|
23238
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
23470
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
23239
23471
|
* @summary List Git installations
|
|
23240
23472
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
23241
23473
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -23243,6 +23475,16 @@ export declare const HostingGitApiFp: (configuration?: Configuration) => {
|
|
|
23243
23475
|
* @throws {RequiredError}
|
|
23244
23476
|
*/
|
|
23245
23477
|
listGitInstallationsV1(provider?: ListGitInstallationsV1ProviderEnum, status?: ListGitInstallationsV1StatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1GitGitInstallationResource>>>;
|
|
23478
|
+
/**
|
|
23479
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
23480
|
+
* @summary Update Git auto-deployment settings
|
|
23481
|
+
* @param {string} username
|
|
23482
|
+
* @param {string} domain Domain name
|
|
23483
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
23484
|
+
* @param {*} [options] Override http request option.
|
|
23485
|
+
* @throws {RequiredError}
|
|
23486
|
+
*/
|
|
23487
|
+
updateGitAutoDeploymentSettingsV1(username: string, domain: string, hostingV1GitUpdateGitAutoDeploymentSettingsRequest: HostingV1GitUpdateGitAutoDeploymentSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23246
23488
|
};
|
|
23247
23489
|
/**
|
|
23248
23490
|
* HostingGitApi - factory interface
|
|
@@ -23250,7 +23492,25 @@ export declare const HostingGitApiFp: (configuration?: Configuration) => {
|
|
|
23250
23492
|
*/
|
|
23251
23493
|
export declare const HostingGitApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
23252
23494
|
/**
|
|
23253
|
-
*
|
|
23495
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
23496
|
+
* @summary Delete Git auto-deployment settings
|
|
23497
|
+
* @param {string} username
|
|
23498
|
+
* @param {string} domain Domain name
|
|
23499
|
+
* @param {*} [options] Override http request option.
|
|
23500
|
+
* @throws {RequiredError}
|
|
23501
|
+
*/
|
|
23502
|
+
deleteGitAutoDeploymentSettingsV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23503
|
+
/**
|
|
23504
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
23505
|
+
* @summary Get Git auto-deployment settings
|
|
23506
|
+
* @param {string} username
|
|
23507
|
+
* @param {string} domain Domain name
|
|
23508
|
+
* @param {*} [options] Override http request option.
|
|
23509
|
+
* @throws {RequiredError}
|
|
23510
|
+
*/
|
|
23511
|
+
getGitAutoDeploymentSettingsV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1GitGitAutoDeploymentSettingsResource>;
|
|
23512
|
+
/**
|
|
23513
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
23254
23514
|
* @summary List Git installation repositories
|
|
23255
23515
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
23256
23516
|
* @param {*} [options] Override http request option.
|
|
@@ -23258,7 +23518,7 @@ export declare const HostingGitApiFactory: (configuration?: Configuration, baseP
|
|
|
23258
23518
|
*/
|
|
23259
23519
|
listGitInstallationRepositoriesV1(uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1GitGitRepositoryResource>>;
|
|
23260
23520
|
/**
|
|
23261
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
23521
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
23262
23522
|
* @summary List Git installations
|
|
23263
23523
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
23264
23524
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -23266,6 +23526,16 @@ export declare const HostingGitApiFactory: (configuration?: Configuration, baseP
|
|
|
23266
23526
|
* @throws {RequiredError}
|
|
23267
23527
|
*/
|
|
23268
23528
|
listGitInstallationsV1(provider?: ListGitInstallationsV1ProviderEnum, status?: ListGitInstallationsV1StatusEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1GitGitInstallationResource>>;
|
|
23529
|
+
/**
|
|
23530
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
23531
|
+
* @summary Update Git auto-deployment settings
|
|
23532
|
+
* @param {string} username
|
|
23533
|
+
* @param {string} domain Domain name
|
|
23534
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
23535
|
+
* @param {*} [options] Override http request option.
|
|
23536
|
+
* @throws {RequiredError}
|
|
23537
|
+
*/
|
|
23538
|
+
updateGitAutoDeploymentSettingsV1(username: string, domain: string, hostingV1GitUpdateGitAutoDeploymentSettingsRequest: HostingV1GitUpdateGitAutoDeploymentSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23269
23539
|
};
|
|
23270
23540
|
/**
|
|
23271
23541
|
* HostingGitApi - object-oriented interface
|
|
@@ -23275,7 +23545,27 @@ export declare const HostingGitApiFactory: (configuration?: Configuration, baseP
|
|
|
23275
23545
|
*/
|
|
23276
23546
|
export declare class HostingGitApi extends BaseAPI {
|
|
23277
23547
|
/**
|
|
23278
|
-
*
|
|
23548
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
23549
|
+
* @summary Delete Git auto-deployment settings
|
|
23550
|
+
* @param {string} username
|
|
23551
|
+
* @param {string} domain Domain name
|
|
23552
|
+
* @param {*} [options] Override http request option.
|
|
23553
|
+
* @throws {RequiredError}
|
|
23554
|
+
* @memberof HostingGitApi
|
|
23555
|
+
*/
|
|
23556
|
+
deleteGitAutoDeploymentSettingsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23557
|
+
/**
|
|
23558
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
23559
|
+
* @summary Get Git auto-deployment settings
|
|
23560
|
+
* @param {string} username
|
|
23561
|
+
* @param {string} domain Domain name
|
|
23562
|
+
* @param {*} [options] Override http request option.
|
|
23563
|
+
* @throws {RequiredError}
|
|
23564
|
+
* @memberof HostingGitApi
|
|
23565
|
+
*/
|
|
23566
|
+
getGitAutoDeploymentSettingsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1GitGitAutoDeploymentSettingsResource, any, {}, any>>;
|
|
23567
|
+
/**
|
|
23568
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
23279
23569
|
* @summary List Git installation repositories
|
|
23280
23570
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
23281
23571
|
* @param {*} [options] Override http request option.
|
|
@@ -23284,7 +23574,7 @@ export declare class HostingGitApi extends BaseAPI {
|
|
|
23284
23574
|
*/
|
|
23285
23575
|
listGitInstallationRepositoriesV1(uuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1GitGitRepositoryResource[], any, {}, any>>;
|
|
23286
23576
|
/**
|
|
23287
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
23577
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
23288
23578
|
* @summary List Git installations
|
|
23289
23579
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
23290
23580
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -23293,6 +23583,17 @@ export declare class HostingGitApi extends BaseAPI {
|
|
|
23293
23583
|
* @memberof HostingGitApi
|
|
23294
23584
|
*/
|
|
23295
23585
|
listGitInstallationsV1(provider?: ListGitInstallationsV1ProviderEnum, status?: ListGitInstallationsV1StatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1GitGitInstallationResource[], any, {}, any>>;
|
|
23586
|
+
/**
|
|
23587
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
23588
|
+
* @summary Update Git auto-deployment settings
|
|
23589
|
+
* @param {string} username
|
|
23590
|
+
* @param {string} domain Domain name
|
|
23591
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
23592
|
+
* @param {*} [options] Override http request option.
|
|
23593
|
+
* @throws {RequiredError}
|
|
23594
|
+
* @memberof HostingGitApi
|
|
23595
|
+
*/
|
|
23596
|
+
updateGitAutoDeploymentSettingsV1(username: string, domain: string, hostingV1GitUpdateGitAutoDeploymentSettingsRequest: HostingV1GitUpdateGitAutoDeploymentSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23296
23597
|
}
|
|
23297
23598
|
/**
|
|
23298
23599
|
* @export
|
|
@@ -23450,7 +23751,7 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
|
|
|
23450
23751
|
*/
|
|
23451
23752
|
restartNodeJsApplicationV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23452
23753
|
/**
|
|
23453
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
23754
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
23454
23755
|
* @summary Start Node.js build
|
|
23455
23756
|
* @param {string} username
|
|
23456
23757
|
* @param {string} domain Domain name
|
|
@@ -23608,7 +23909,7 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
|
|
|
23608
23909
|
*/
|
|
23609
23910
|
restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23610
23911
|
/**
|
|
23611
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
23912
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
23612
23913
|
* @summary Start Node.js build
|
|
23613
23914
|
* @param {string} username
|
|
23614
23915
|
* @param {string} domain Domain name
|
|
@@ -23766,7 +24067,7 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
|
|
|
23766
24067
|
*/
|
|
23767
24068
|
restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23768
24069
|
/**
|
|
23769
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
24070
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
23770
24071
|
* @summary Start Node.js build
|
|
23771
24072
|
* @param {string} username
|
|
23772
24073
|
* @param {string} domain Domain name
|
|
@@ -23939,7 +24240,7 @@ export declare class HostingNodeJSApi extends BaseAPI {
|
|
|
23939
24240
|
*/
|
|
23940
24241
|
restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23941
24242
|
/**
|
|
23942
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
24243
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
23943
24244
|
* @summary Start Node.js build
|
|
23944
24245
|
* @param {string} username
|
|
23945
24246
|
* @param {string} domain Domain name
|