Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlobsApi

Hierarchy

  • BlobsApi

Index

Constructors

Properties

Methods

Constructors

constructor

  • new BlobsApi(basePath?: string): BlobsApi

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

getBlob

  • getBlob(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<GitBlobRef>
  • Get a single blob. 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 download?: boolean
      • Optional fileName?: string
      • organization: string
      • project: string
      • repositoryId: string
      • Optional resolveLfs?: boolean
      • sha1: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<GitBlobRef>

getBlobs

  • getBlobs(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<string>
  • Gets one or more blobs in a zip file download.

    Parameters

    • params: object
      • apiVersion: string
      • body: Array<string>
      • Optional filename?: string
      • organization: string
      • project: string
      • repositoryId: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<string>

Generated using TypeDoc