查询项目任务
GET
https://open.teambition.com/api/v3/project/{projectId}/task/query
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.teambition.com/api/v3/project//task/query' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
{
"nextPageToken": "string",
"totalSize": 0,
"result": [
{
"id": "string",
"content": "string",
"note": "string",
"projectId": "string",
"ancestorIds": [
"string"
],
"parentTaskId": "string",
"tfsId": "string",
"tasklistId": "string",
"stageId": "string",
"tagIds": [
"string"
],
"creatorId": "string",
"executorId": "string",
"involveMembers": [
"string"
],
"priority": 0,
"storyPoint": "string",
"recurrence": [
"string"
],
"isDone": true,
"isArchived": true,
"visible": "string",
"uniqueId": "string",
"startDate": "string",
"dueDate": "string",
"accomplishTime": "string",
"created": "string",
"updated": "string",
"sfcId": "string",
"sprintId": "string",
"customfields": [
{
"cfld": "string",
"type": "string",
"value": [
{
"id": "string",
"title": "string",
"metaString": "string"
}
]
}
]
}
],
"code": 0,
"errorMessage": "string"
}
请求参数
Path 参数
projectId
string
必需
Header 参数
Authorization
string
可选
默认值:
{{Authorization}}
X-Tenant-Id
string
企业 ID
默认值:
{{X-Tenant-Id}}
X-Tenant-Type
string
可选
默认值:
organization
Body 参数application/json