Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PullRequestQueryApi

Hierarchy

  • PullRequestQueryApi

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

getPullRequestQuery

  • getPullRequestQuery(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<GitPullRequestQuery>
  • This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pull requests that have ever merged a particular commit. The input is a list of queries which each contain a list of commits. For each commit that you search against, you will get back a dictionary of commit -> pull requests.

    Parameters

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

    Returns Promise<GitPullRequestQuery>

Generated using TypeDoc