Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LatestApi

Hierarchy

  • LatestApi

Index

Constructors

Properties

Methods

Constructors

constructor

  • new LatestApi(basePath?: string): LatestApi

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

getLatestBuild

  • getLatestBuild(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Build>
  • Gets the latest build for a definition, optionally scoped to a specific branch.

    Parameters

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

    Returns Promise<Build>

Generated using TypeDoc