首页 > 其他分享 >2020-2-3-coding迭代查询

2020-2-3-coding迭代查询

时间:2023-09-17 19:58:15浏览次数:27  
标签:code name 迭代 示例 coding 2020 参数 net

layout: post
title: coding迭代查询
categories: coding-post
tag: coding api

coding迭代查询

接口URL

https://<team-name>.coding.net/api/project/<project-id>/iterations?page=1&pageSize=20&keywords=&sortBy=CODE%3ADESC

请求方式

GET

请求header参数:

cookie:eid

请求Query参数

参数 示例值 必填 参数描述
page 1 页数
pageSize 1000 每页容量
keywords ··· 关键词
sortBy CODE%3ADESC(按id) 排序方式

成功返回参数

参数 示例值 参数描述
code 0 状态码

成功示例数据

{
	"code": 0,
	"msg": null,
	"data": {
		"list": [
			{
				"code": 38,
				"name": "test",
				"goal": "test1",
				"startAt": null,
				"endAt": 1583251199000,
				"creator": {
					"id": 119745,
					"status": 1,
					"globalKey": "yskcpRReNA",
					"avatar": "https://coding-net-production-static-ci.codehub.cn/WM-TEXT-AVATAR-hhRyeVzAOcdIIllXCioP.jpg",
					"name": "xtx",
					"email": "[email protected]"
				},
				"status": "WAIT_PROCESS",
				"waitProcessCount": 0,
				"processingCount": 0,
				"completedCount": 0,
				"remainingDays": 29,
				"completedPercent": 0,
				"todoStoryPointSum": 0,
				"processStoryPointSum": 0,
				"completeStoryPointSum": 0,
				"createdAt": 1580722212000,
				"updatedAt": 1580722212000,
				"assignee": {
					"id": 118745,
					"status": 1,
					"globalKey": "yskcpRReNA",
					"avatar": "https://coding-net-production-static-ci.codehub.cn/WM-TEXT-AVATAR-hhRyeVzAOcdIIllXCioP.jpg",
					"name": "xtx",
					"email": "[email protected]"
				},
				"watchers": [
					{
						"id": 118745,
						"status": 1,
						"globalKey": null,
						"avatar": "https://coding-net-production-static-ci.codehub.cn/WM-TEXT-AVATAR-hhRyeVzAOcdIIllXCioP.jpg",
						"name": "xtx",
						"email": "[email protected]"
					}
				],
            }
		]
		"page": 1,
		"pageSize": 20,
		"totalPage": 1,
		"totalRow": 1
	}
}

失败返回参数

参数 示例值 参数描述
code 1046 状态码
msg ··· 错误原因描述

标签:code,name,迭代,示例,coding,2020,参数,net
From: https://www.cnblogs.com/xutongxin/p/17709602.html

相关文章

  • 2020-8-18-python分应用调整音量
    layout:posttitle:python分应用调整音量categories:pythontag:pythonpython分应用调整音量注:本文为此文铺垫我在网上找了一圈又一圈,从中文到英文,都没有找到我想要的用python调整windows音量合成器的方式我知道可以用调dll的方式,但是我怎么会呢?最终我阴差阳错的找到了......
  • 2020-2-3-coding删除迭代
    layout:posttitle:coding删除迭代categories:coding-posttag:codingapicoding删除迭代接口URLhttps://<team-name>.coding.net/api/project/<project-id>/iterations/<iterations_id>请求方式DELETE请求header参数:cookie:eid成功返回参数参数示例值参数描......
  • 2020-12-21-两轮平衡小车探索
    layout:posttitle:两轮平衡小车探索categories:日志tags:-开发-开发任务BGImage:'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed/master/img0/20201220234325.png'jekyll-theme-WuK:musicid:'744590......
  • 2020-12-17-xtx的日常开发日记
    layout:posttitle:xtx第15周日常开发日记categories:日志tags:-日志-2020日志BGImage:'https://cdn.jsdelivr.net/gh/xutongxin1/xutongxin1.github.io@bebc52fb1b67a08f8db0026051b9716a88a37900/asset/%E6%97%A5%E5%BF%97/75065066_p0.jpg'jekyll-theme-W......
  • 2020-12-17-xtx第15周工程开发日志
    layout:posttitle:xtx第15周工程开发日志categories:日志tags:-日志-2020日志BGImage:'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed/master/img0/20201220234325.png'jekyll-theme-WuK:musicid:'744590'xtx......
  • 2020-12-17-mc模组开发笔记
    idea乱码在help里进VM参数设置https://www.huaweicloud.com/articles/9096546b90dc8c52d52138d01875b8ed.html->与Lambda表达式tileEntityType->https://www.runoob.com/java/java8-lambda-expressions.html简单说就是return后面一坨给前面,后面一坨可以是函数表达式方块......
  • 2020-12-10-xtx第14周开发日志
    layout:posttitle:xtx第14周开发日志categories:日志tags:-日志-2020日志BGImage:'https://cdn.jsdelivr.net/gh/xutongxin1/xutongxin1.github.io@bebc52fb1b67a08f8db0026051b9716a88a37900/asset/%E6%97%A5%E5%BF%97/75065066_p0.jpg'jekyll-theme-Wu......
  • 2020-12-1-xtx第13周开发日记
    layout:posttitle:xtx第13周开发日志categories:日志tags:-日志-2020日志BGImage:'https://cdn.jsdelivr.net/gh/xutongxin1/xutongxin1.github.io@d65706f589a6ace903309ed982a3058a2b3251e3/asset/%E6%97%A5%E5%BF%97/20201211144323.png'jekyll-theme......
  • 2020-12-1-myy13周日志
    layout:posttitle:myy通讯录日志categories:日志tags:-日志-2020日志jekyll-theme-WuK:background_music:'<iframeframeborder="no"border="0"marginwidth="0"marginheight="0"width=100%height=86sr......
  • 2020-11-27-myy12周日志
    layout:posttitle:myy通讯录日志categories:日志tags:-日志-2020日志jekyll-theme-WuK:background_music:'<iframeframeborder="no"border="0"marginwidth="0"marginheight="0"width=100%height=86sr......