Boards - Get

获取版块

GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/boards/{id}?api-version=7.1-preview.1

URI 参数

名称 必需 类型 说明
id
path True

string

板的标识符,板的积压工作级别名称 (例如:“Stories”) 或 Id

organization
path True

string

Azure DevOps 组织的名称。

project
path True

string

项目 ID 或项目名称

team
path

string

团队 ID 或团队名称

api-version
query True

string

要使用的 API 版本。 这应设置为“7.1-preview.1”才能使用此版本的 API。

响应

名称 类型 说明
200 OK

Board

成功的操作

安全性

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token 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

Scopes

名称 说明
vso.work 授予读取工作项、查询、版块、区域和迭代路径以及其他工作项跟踪相关元数据的能力。 此外,还授予执行查询、搜索工作项以及通过服务挂钩接收有关工作项事件的通知的能力。

定义

名称 说明
Board
BoardColumn
BoardColumnType
BoardFields
BoardRow
FieldReference

对字段的抽象引用

ReferenceLinks

表示 REST 引用链接集合的类。

Board

名称 类型 说明
_links

ReferenceLinks

表示 REST 引用链接集合的类。

allowedMappings

object

canEdit

boolean

columns

BoardColumn[]

fields

BoardFields

id

string

资源的 ID

isValid

boolean

name

string

资源名称

revision

integer

rows

BoardRow[]

url

string

指向资源的完整 http 链接

BoardColumn

名称 类型 说明
columnType

BoardColumnType

description

string

id

string

isSplit

boolean

itemLimit

integer

name

string

stateMappings

object

BoardColumnType

名称 类型 说明
inProgress

string

incoming

string

outgoing

string

BoardFields

名称 类型 说明
columnField

FieldReference

对字段的抽象引用

doneField

FieldReference

对字段的抽象引用

rowField

FieldReference

对字段的抽象引用

BoardRow

名称 类型 说明
color

string

id

string

name

string

FieldReference

对字段的抽象引用

名称 类型 说明
referenceName

string

字段的 fieldRefName

url

string

有关字段的详细信息的完整 http 链接

表示 REST 引用链接集合的类。

名称 类型 说明
links

object

链接的只读视图。 由于引用链接是只读的,因此我们只想将其公开为只读。