API Cross-Reference Table

Navigation: Home > API Reference > Integration Patterns > API Cross-Reference Table

This document provides a comprehensive cross-reference table showing the relationships between different API clients and their methods. It helps developers understand which methods are commonly used together and which integration patterns they support.

The following table shows how methods from the Work Item Tracking, Git, and Build APIs relate to each other. Use this table to identify which methods you might need to use together when implementing integrations.

API Client Method Related API Methods Integration Patterns
Work Item Tracking API getWorkItem Git API: getPullRequests
Build API: getBuilds
Work Item + Git Integration
Work Item + Build Integration
Work Item Tracking API getWorkItems Git API: getPullRequests
Build API: getBuilds
Work Item + Git Integration
Work Item + Build Integration
Work Item Tracking API createWorkItem Git API: createPullRequest
Build API: queueBuild
Feature Implementation Lifecycle
Work Item Tracking API updateWorkItem Git API: createPullRequest
Build API: queueBuild
Feature Implementation Lifecycle
Work Item Tracking API queryByWiql Git API: getPullRequests
Build API: getBuilds
Pull Request Review Dashboard
API Client Method Related API Methods Integration Patterns
Git API getRepositories Work Item API: queryByWiql
Build API: getDefinitions
Repository Analysis Pattern
Git API getRepository Work Item API: queryByWiql
Build API: getDefinitions
Repository Analysis Pattern
Git API getRefs Build API: getBuilds
Build API: queueBuild
Git + Build Integration
Git API getPullRequests Work Item API: getWorkItems
Build API: getBuilds
Pull Request Review Dashboard
Git API createPullRequest Work Item API: updateWorkItem
Build API: queueBuild
Feature Implementation Lifecycle
API Client Method Related API Methods Integration Patterns
Build API getDefinitions Git API: getRepositories
Git API: getRefs
Git + Build Integration
Build API getBuild Work Item API: getWorkItem
Git API: getCommit
Work Item + Build Integration
Git + Build Integration
Build API getBuilds Work Item API: getWorkItems
Git API: getPullRequests
Pull Request Review Dashboard
Build API queueBuild Git API: getRefs
Work Item API: updateWorkItem
Feature Implementation Lifecycle
Build API getBuildLogs Git API: getCommit
Work Item API: getWorkItem
Work Item + Build Integration

The following table shows common integration scenarios and the API methods they typically use. These scenarios represent real-world use cases that combine multiple APIs to solve specific problems.

Integration Scenario Primary API Secondary APIs Key Methods
Feature Implementation Workflow Work Item API Git API, Build API createWorkItem, updateWorkItem, createPullRequest, queueBuild
Pull Request Review Dashboard Git API Work Item API, Build API getPullRequests, getWorkItems, getBuilds
Build Status Reporting Build API Work Item API, Git API getBuilds, getWorkItems, getCommits
Release Readiness Report Work Item API Build API, Git API queryByWiql, getBuilds, getPullRequests
Repository Health Analysis Git API Build API, Work Item API getRepositories, getBuilds, queryByWiql

The following describes the high-level relationships between the primary APIs:

  • The Core API (Projects & Teams) serves as the central component
  • Three main APIs branch from the Core API:
    • Git API (Code & Repositories)
    • Work Item Tracking API
    • Build API
  • These three APIs have bidirectional relationships with each other
  • All APIs contribute to Integration Patterns

Understanding these relationships helps when designing integrations:

  • Changes in one API area often require coordinated changes in related areas
  • Authentication tokens need permissions for all related APIs
  • Error handling should account for dependencies between APIs
  • Performance considerations should include all related API calls