Chartimages - Get Iteration Chart Image
获取迭代图表图像。
GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/iterations/{iterationId}/chartimages/{name}?api-version=7.1-preview.1
GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/iterations/{iterationId}/chartimages/{name}?width={width}&height={height}&showDetails={showDetails}&title={title}&api-version=7.1-preview.1
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
iteration
|
path | True |
string uuid |
迭代的 ID。 |
name
|
path | True |
string |
图表名称。 例如,燃尽。 |
organization
|
path | True |
string |
Azure DevOps 组织的名称。 |
project
|
path | True |
string |
项目 ID 或项目名称 |
team
|
path | True |
string |
团队 ID 或团队名称 |
api-version
|
query | True |
string |
要使用的 API 版本。 这应设置为“7.1-preview.1”才能使用此版本的 API。 |
height
|
query |
integer int32 |
图表的高度(以像素为单位)。 必须大于 0。 |
|
show
|
query |
boolean |
图表是否应包含详细信息 (,例如轴标签、标题、趋势线等) |
|
title
|
query |
string |
图表的标题。 仅当 ShowLabels 为 true 时,才能取消。 |
|
width
|
query |
integer int32 |
图表的宽度(以像素为单位)。 必须大于 0。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
string |
成功的操作 |
安全性
oauth2
类型:
oauth2
流向:
accessCode
授权 URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
令牌 URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
作用域
名称 | 说明 |
---|---|
vso.work | 授予读取工作项、查询、版块、区域和迭代路径以及其他工作项跟踪相关元数据的能力。 此外,还授予执行查询、搜索工作项以及通过服务挂钩接收有关工作项事件的通知的能力。 |