Navigation: Home > API Reference > WebApi Core
This directory contains the comprehensive documentation for the WebApi Core component of the Azure DevOps Node API. The WebApi Core is the foundational layer that handles authentication, connections, and provides access to all other API clients.
This documentation covers:
Learn more about using WebApi Core with these resources:
The WebApi Core documentation covers these essential concepts:
Connection Establishment
Authentication Methods
API Client Access
Connection Configuration
This documentation is designed for:
Quick reference for common WebApi Core tasks:
// Basic connection with Personal Access Token (PAT)
import * as azdev from "azure-devops-node-api";
const orgUrl = "https://dev.azure.com/your-organization";
const token = "your-personal-access-token";
const authHandler = azdev.getPersonalAccessTokenHandler(token);
const connection = new azdev.WebApi(orgUrl, authHandler);
// Connect and get an API client
const workItemTrackingApi = await connection.getWorkItemTrackingApi();
const workItem = await workItemTrackingApi.getWorkItem(42);
For issues, questions, or feedback regarding this documentation, please file an issue in the GitHub repository.