获取迭代详情
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求语法
GET /organization/organizationId/sprints/sprintId/getSprintinfo HTTP/1.1
Content-Type:application/json
请求参数
参数名称 | 类型 | 是否必选 | 示例 | 说明 |
---|---|---|---|---|
organizationId | String | 是 | 5ebbc0228123212b59xxxxx |
企业标识,也称企业id,字符串形式,可在云效访问链接中获取,如https://devops.aliyun.com/organization/【OrganizationId】 |
sprintId | String | 是 | d061ca90d47a0b7cd4d2... |
迭代id |
响应体语法
HTTP/1.1 200 OK
Content-Type:application/json
{
"requestId" : "String",
"errorCode" : "String",
"errorMessage" : "String",
"success" : Boolean,
"sprint" : {
"creator" : "String",
"description" : "String",
"gmtCreate" : Long,
"gmtModified" : Long,
"endDate" : Long,
"startDate" : Long,
"identifier" : "String",
"modifier" : "String",
"name" : "String",
"spaceIdentifier" : "String",
"scope" : "String",
"status" : "String"
}
}
响应参数
参数名称 | 类型 | 示例 | 说明 |
---|---|---|---|
requestId | String | ASSDS-ASSASX-XSAXSA-XSAXSAXS |
请求id,每次请求都是唯一值,便于后续排查问题 |
errorCode | String | Openapi.RequestError |
错误码 |
errorMessage | String | error |
错误信息 |
success | Boolean | true |
true或者false |
sprint | Object |
迭代信息 |
|
creator | String | 19xx7043xxxxxxx914 |
创建人id |
description | String | 迭代详细描述 |
描述信息 |
gmtCreate | Long | 1623916393000 |
创建时间 |
gmtModified | Long | 1623916393000 |
修改时间 |
endDate | Long | 1623916393000 |
结束时间 |
startDate | Long | 1638403200000 |
开始时间 |
identifier | String | e8bxxxxxxxxxxxxxxxx23 |
迭代唯一标识符 |
modifier | String | 19xx7043xxxxxxx914 |
修改人 |
name | String | demo示例项目 |
迭代名称 |
spaceIdentifier | String | 5e70xxxxxxcd000xxxxe96 |
项目id |
scope | String | public |
可见范围 |
status | String | Todo |
状态 未开始:Todo 进行中:Doing 已完成:Done |
示例1
GET /organization/5ebbc0228123212b59xxxxx/sprints/d061ca90d47a0b7cd4d2.../getSprintinfo HTTP/1.1
Host:devops.aliyuncs.com
Content-Type:application/json
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<GetSprintInfoResponse>
<requestId>C79CF3C1-E25F-13BB-99C2-687E14...</requestId>
<success>true</success>
<sprint>
<identifier>4c0974066a1c9f88a91d...</identifier>
<gmtModified>1642409799000</gmtModified>
<name>000013</name>
<spaceIdentifier>7fb72727f32143574f7a...</spaceIdentifier>
<gmtCreate>1642409799000</gmtCreate>
<startDate>1638403200000</startDate>
<status>TODO</status>
</sprint>
<errorMessage/>
<errorCode/>
</GetSprintInfoResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"requestId" : "C79CF3C1-E25F-13BB-99C2-687E14...",
"success" : true,
"sprint" : {
"identifier" : "4c0974066a1c9f88a91d...",
"gmtModified" : 1642409799000,
"name" : "000013",
"spaceIdentifier" : "7fb72727f32143574f7a...",
"gmtCreate" : 1642409799000,
"startDate" : 1638403200000,
"status" : "TODO"
},
"errorMessage" : "",
"errorCode" : ""
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Openapi.RequestError | request error | OpenAPI请求数据错误 |
403 | Operate.NoPermission | NoPermission | 没有权限 |
访问错误中心查看更多错误码。
开发者资源
-
SDK
阿里云为您提供多种语言的SDK,帮助您快速通过API集成阿里云的产品和服务,推荐您使用SDK调用API,已免除您手动签名验证。
-
OpenAPI Explorer
快速检索,可视化调试API,在线命令行工具,同步动态生成可执行的SDK代码示例。
-
阿里云CLI
阿里云资产管理和配置工具,可通过命令方式同时管理多个阿里云产品和服务,简单快捷,是您上云好帮手。