Methods

Methods

  • Creates a new Folder.

    Parameters

    • name: string

      The name of the new Folder.

    • OptionalparentFolderId: number

      The id of the parent Folder that this new Folder should be created in. If not set, the new Folder will be created in the Root Folder.

    Returns Promise<number>

  • Retrieves information for an existing Folder. Throws an error if the Folder does not exist.

    Parameters

    • Optionalid: number

      The id of the Folder to retrieve.

    Returns Promise<SingleFolder>