Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TreesApi

Hierarchy

  • TreesApi

Index

Constructors

Properties

Methods

Constructors

constructor

  • new TreesApi(basePath?: string): TreesApi

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

getTree

  • getTree(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<GitTreeRef>
  • The Tree endpoint returns the collection of objects underneath the specified tree. Trees are folders in a Git repository. Repositories have both a name and an identifier. Identifiers are globally unique, but several projects may contain a repository of the same name. You don't need to include the project if you specify a repository by ID. However, if you specify a repository by name, you must also specify the project (by name or ID.

    Parameters

    • params: object
      • Optional $Format?: string
      • apiVersion: string
      • Optional fileName?: string
      • organization: string
      • project: string
      • Optional projectId?: string
      • Optional recursive?: boolean
      • repositoryId: string
      • sha1: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<GitTreeRef>

Generated using TypeDoc