Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISnapshots

export
interface

ISnapshots

Hierarchy

  • ISnapshots

Implemented by

Index

Methods

create

  • create(projectId: string, body: object): Promise<object>
  • description

    Creates snapshot of the project. Requires Manage settings admin right.

    memberof

    ISnapshots

    Parameters

    • projectId: string
    • body: object

    Returns Promise<object>

    }

delete

  • delete(projectId: string, snapshotId: number): Promise<object>
  • description

    Deletes project snapshot. Requires Manage settings admin right.

    memberof

    ISnapshots

    Parameters

    • projectId: string
    • snapshotId: number

    Returns Promise<object>

    }

list

  • list(projectId: string, query?: IPage): Promise<object>
  • description

    Retrieves a list of project snapshots. Requires Manage settings admin right.

    memberof

    ISnapshots

    Parameters

    • projectId: string
    • Optional query: IPage

    Returns Promise<object>

    }

restore

  • restore(projectId: string, snapshotId: number): Promise<any>
  • description

    Restores project snapshot to a project copy. Requires Manage settings admin right and Admin role in the team.

    memberof

    ISnapshots

    Parameters

    • projectId: string
    • snapshotId: number

    Returns Promise<any>

Generated using TypeDoc