Constructors

Methods

  • Deletes the file at the specified path in the specified environment. Delete a file

    Parameters

    • environment: string

      The environment of the file ("draft" or "published").

    • path: string

      The file system location of the file.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<void>

  • Downloads the byte contents of the file at the specified path in the specified environment. Download a file

    Parameters

    • environment: string

      The environment of the file (&quot;draft&quot; or &quot;published&quot;).

    • path: string

      The file system location of the file.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<void>

  • Downloads the byte contents of the file at the specified path in the specified environment. Download a file

    Parameters

    • environment: string

      The environment of the file (&quot;draft&quot; or &quot;published&quot;).

    • path: string

      The file system location of the file.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<void>>