Methods
create
- create(projectId: string, body: object): Promise<object>
-
Parameters
-
projectId: string
-
body: object
Returns Promise<object>
}
delete
- delete(projectId: string, snapshotId: number): Promise<object>
-
Parameters
-
projectId: string
-
snapshotId: number
Returns Promise<object>
}
list
- list(projectId: string, query?: IPage): Promise<object>
-
Parameters
-
projectId: string
-
Optional query: IPage
Returns Promise<object>
}
restore
- restore(projectId: string, snapshotId: number): Promise<any>
-
Parameters
-
projectId: string
-
snapshotId: number
Returns Promise<any>
ISnapshots