Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RecyclebinApi

Hierarchy

  • RecyclebinApi

Index

Constructors

constructor

Properties

Protected basePath

basePath: string = "https://dev.azure.com/"

defaultHeaders

defaultHeaders: any

Methods

destroyWorkItem

  • destroyWorkItem(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Destroys the specified work item permanently from the Recycle Bin. This action can not be undone.

    Parameters

    • params: object
      • apiVersion: string
      • id: number
      • organization: string
      • project: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<__type>

getDeletedWorkItem

  • getDeletedWorkItem(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemDelete>
  • Gets a deleted work item from Recycle Bin.

    Parameters

    • params: object
      • apiVersion: string
      • id: number
      • organization: string
      • project: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemDelete>

getDeletedWorkItemShallowReferences

  • Gets a list of the IDs and the URLs of the deleted the work items in the Recycle Bin.

    Parameters

    • params: object
      • apiVersion: string
      • organization: string
      • project: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<ArrayWrapper<WorkItemDeleteShallowReference>>

restoreWorkItem

  • restoreWorkItem(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemDelete>
  • Restores the deleted work item from Recycle Bin.

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemDelete>

Generated using TypeDoc