查询任务类型
GET
https://open.teambition.com/api/template/query
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.teambition.com/api/template/query?projectId' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization'
响应示例响应示例
{
"code": 200,
"errorMessage": "",
"result": {
"created": "2020-07-15T09:25:52.525Z",
"creatorId": "5ac4a9089f8f22000108241b",
"customfields": [
{
"cfId": "5f1832008de9989edf6fcbbb",
"displayed": 0,
"fieldType": "customfield",
"required": 0
}
],
"icon": "task",
"name": "任务",
"projectId": "5f0ecba0eea1701e1fbc6884",
"taskflowId": null,
"templateId": "5f0ecba051c99376cb0852f2",
"type": "default",
"updated": "2020-07-22T12:33:08.377Z"
}
}
请求参数
Query 参数
projectId
string
项目 ID
name
string