Я не думаю, что есть метод API, доступный, однако я сталкивался с этим методом,
/**
* Get a team's capacity
*
* @param teamContext - The team context for the operation
* @param iterationId - ID of the iteration
*/
public async getCapacitiesWithIdentityRef(
teamContext: TfsCore.TeamContext,
iterationId: string
): Promise<Work.TeamMemberCapacityIdentityRef[]> {
const project = teamContext.projectId || teamContext.project;
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamMemberCapacityIdentityRef[]>({
apiVersion: "5.2-preview.2",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
routeValues: {
project: project,
team: team,
iterationId: iterationId
}
});
}