Class HostingWebsite

Hierarchy (view full)

Constructors

Properties

name: string = null

User assigned name of the website.

description: string = null

User assigned description of the website.

domain: string = null

Domain on which this website lives.

bucketUuid: string = null

Unique identifier of a storage bucket in which this website files reside.

ipnsStaging: string = null

IPNS CID for staging environment.

Deprecated

  • Use cidStaging instead
cidStaging: string = null

IPFS CID for staging environment.

cidProduction: string = null

IPFS CID for production environment.

ipnsProduction: string = null

IPNS CID for production environment.

w3StagingLink: string = null

Link to staging version of the website

w3ProductionLink: string = null

Link to production version of the website

lastDeploymentUuid: string = null

Website last deployment (to any environment) unique identifier

lastDeploymentStatus: DeploymentStatus = null

Status of last deployment

API_PREFIX: string = null

API url prefix for this class.

uuid: string

Unique identifier of the model.

createTime: string = null

The object's creation date

updateTime: string = null

The date when the object was last updated

Methods

  • Uploads website files inside a folder via path.

    Parameters

    • folderPath: string

      Path to the folder to upload.

    • Optional params: IFileUploadRequest

      Optional parameters to be used for uploading files

    Returns Promise<void>