文档

ExportWorkitemActivity - 导出WorkitemActivity

更新时间:

获取效能洞察中指定企业的workitem_activity表数据

接口说明

效能洞察数据导出 API 仅面向高级版客户开放,了解云效高级版功能,请前往 https://help.aliyun.com/document_detail/173288.html

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

POST /organization/{organizationId}/data/workitemActivities

请求参数

名称类型必填描述示例值
organizationIdstring

企业标识,也称企业 id,字符串形式,可在云效访问链接中获取,如 https://devops.aliyun.com/organization/#{organizationId}

61db9af2148974246bexxxx
bodyobject

请求 body

startTimestring

开始时间。和结束时间间隔不超过 1 年。

2024-05-01 00:00:00
endTimestring

结束时间。和开始时间间隔不超过 1 年。

2024-06-01 00:00:00
nextTokenstring

下一页 token

1
maxResultslong

最大结果条数,最大值 10000

10

返回参数

名称类型描述示例值
object

Schema of Response

totalCountlong

总条数

100
nextTokenstring

下一页 token,为 null 表示没有下一页

2
maxResultslong

返回条数

10
resultarray<object>

返回结果

object

workitem_activity

idlong

记录自增 Id

4406380356
gmtEventlong

事件时间

1714961337000
identifierstring

唯一标识

254662353
organizationIdstring

企业 id

61db9af2148974246bexxxx
newValuestring

新值

1
oldValuestring

旧值

2
projectIdstring

项目 ID

2a62349afcbef7f23d8f31xxxx
sourcestring

来源

projex
typestring

事件类型

workitem.update.priority
workitemIdstring

工作项 ID

ec69eae498acce08ff7260xxxx

示例

正常返回示例

JSON格式

{
  "totalCount": 100,
  "nextToken": "2",
  "maxResults": 10,
  "result": [
    {
      "id": 4406380356,
      "gmtEvent": 1714961337000,
      "identifier": "254662353",
      "organizationId": "61db9af2148974246bexxxx",
      "newValue": "1",
      "oldValue": "2",
      "projectId": "2a62349afcbef7f23d8f31xxxx",
      "source": "projex",
      "type": "workitem.update.priority",
      "workitemId": "ec69eae498acce08ff7260xxxx"
    }
  ]
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史