FireDAC Components for Azure DevOps

Build 21.0.7930

GitBranches

Retrieves a collection of git branch.

Table Specific Information

Select

The component will use the Azure DevOps API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the component.
Note: RepositoryId is required in order to query GitBranches.

  • ProjectId supports the '=' operator.
  • RepositoryId supports the '=' operator.
  • IncludeLinks supports the '=' operator.
  • MyBranches supports the '=' operator.
  • IncludeStatuses supports the '=' operator.
  • LatestStatusesOnly supports the '=' operator.
For example:
	SELECT * FROM GitBranches WHERE RepositoryId = '02b4a62d-2f5f-4d69-8420-29257dcc8051'
	SELECT * FROM GitBranches WHERE RepositoryId = '02b4a62d-2f5f-4d69-8420-29257dcc8051' AND IncludeLinks = true

Columns

Name Type References Description
ObjectId [KEY] String Path for the branch.
ProjectId String

Projects.Id

Id of the project this branch belongs to.
RepositoryId String

Repositories.Id

Id of the repositories.
Name String Name of the branch.
CreatorDisplayName String The non-unique display name of the user who created this branch.
CreatorUrl String The URL of the user who created this branch.
CreatorLinksAvatarHref String Avatar reference link of the creator.
CreatorId String Id of the creator.
CreatorUniqueName String Unique name of the creator.
CreatorImageUrl String Image URL of the creator.
CreatorDescriptor String Descriptor of the creator.
LinksSelfHref String Self reference link.
LinksRepositoryHref String Repository reference link.
Statuses String Contains the metadata of a service/extension posting a status.
Url String Full HTTP resource link of the branch.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IncludeLinks Boolean Specifies if referenceLinks should be included in the result.
IncludeStatuses Boolean Includes up to the first 1000 commit statuses for each ref.
MyBranches Boolean Includes only branches that the user owns, the branches the user favorites, and the default branch.
LatestStatusesOnly Boolean rue to include only the tip commit status for each ref.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930