项目
响应示例
Status: 200 OK
{
"code": 0,
"data": {
"list": [
{
"created_at": 1553840847675,
"backend_project_path": "/user/sunzhaoyao/project/dev-demo",
"description": "开发者示例项目",
"git_url": "git://git.coding.net/sunzhaoyao/dev-demo.git",
"ssh_url": "git@git.coding.net:sunzhaoyao/dev-demo.git",
"svn_url": "svn+ssh://svn@svn.coding.net/sunzhaoyao/dev-demo",
"is_public": false,
"https_url": "https://git.coding.net/sunzhaoyao/dev-demo.git",
"vcs_type": "git",
"subversion_url": "subversion.coding.net/sunzhaoyao/dev-demo",
"id": 4260817,
"name": "dev-demo",
"display_name": "示例项目",
"owner_id": 2169331,
"owner_user_name": "sunzhaoyao",
"owner_user_picture": "https://coding-net-production-static-ci.codehub.cn/WM-TEXT-AVATAR-AShcXtEmwkLlMcZJSQtz.jpg",
"owner_user_home": "<a href=\"https://coding.net/u/sunzhaoyao\">sunzhaoyao</a>",
"project_path": "/u/sunzhaoyao/p/dev-demo",
"status": 1,
"type": 2,
"updated_at": 1553840847675,
"fork_count": 0,
"star_count": 0,
"watch_count": 0,
"download_count": 0,
"pin": false,
"depot_path": "/u/sunzhaoyao/p/dev-demo/git",
"forked": false,
"un_read_activities_count": 0,
"icon": "https://dn-coding-net-production-pp.codehub.cn/79a8bcc4-d9cc-4061-940d-5b3bb31bf571.png",
"current_user_role_id": 0,
"stared": false,
"watched": false,
"recommended": 0,
"shared": false,
"is_member": false,
"max_member": 20,
"groupId": 0,
"plan": 1,
"isTeam": false,
"isDemo": true
}
],
"page": 1,
"pageSize": 10,
"totalPage": 6,
"totalRow": 54
}
}
响应示例
Status: 200 OK
{
"code": 0,
"data": {
"list": [
{
"created_at": 1507771905000,
"backend_project_path": "/user/coding/project/Comments",
"description": "A comment system based on Coding.net",
"git_url": "git://git.coding.net/coding/Comments.git",
"ssh_url": "git@git.coding.net:coding/Comments.git",
"svn_url": "svn+ssh://svn@svn.coding.net/coding/Comments",
"is_public": true,
"https_url": "https://git.coding.net/coding/Comments.git",
"vcs_type": "git",
"subversion_url": "subversion.coding.net/coding/Comments",
"id": 1454826,
"owner_id": 93,
"owner_user_name": "coding",
"owner_user_picture": "https://dn-coding-net-production-static.codehub.cn/512b2a62-956b-4ef8-8e84-b3c66e71468f.png?imageMogr2/auto-orient/format/png/crop/!300x300a0a0",
"owner_user_home": "<a href=\"https://coding.net/u/coding\">coding</a>",
"project_path": "/u/coding/p/Comments",
"status": 1,
"type": 1,
"updated_at": 1530611471000,
"last_updated": 1530611471000,
"fork_count": 4,
"star_count": 17,
"watch_count": 24,
"download_count": 0,
"pin": false,
"depot_path": "/u/coding/p/Comments/git",
"forked": false,
"un_read_activities_count": 0,
"icon": "/static/project_icon/scenery-4.png",
"current_user_role_id": 0,
"owner": {
"tags_str": "云计算追随者, 技术风向标",
"tags": "19,32",
"job_str": "产品",
"job": 2,
"sex": 0,
"location": "广东 深圳",
"company": "Coding.net",
"slogan": "",
"website": "",
"introduction": "",
"avatar": "https://dn-coding-net-production-static.codehub.cn/512b2a62-956b-4ef8-8e84-b3c66e71468f.png?imageMogr2/auto-orient/format/png/crop/!300x300a0a0",
"gravatar": "",
"lavatar": "https://dn-coding-net-production-static.codehub.cn/512b2a62-956b-4ef8-8e84-b3c66e71468f.png?imageMogr2/auto-orient/format/png/crop/!300x300a0a0",
"created_at": 1403329814000,
"last_logined_at": 1553703523000,
"last_activity_at": 1553868240927,
"global_key": "coding",
"name": "coding",
"name_pinyin": "",
"updated_at": 1553703524000,
"path": "/u/coding",
"status": 1,
"is_member": 0,
"id": 93,
"vip": 4,
"vip_expired_at": 1562256000000,
"follows_count": 0,
"fans_count": 0,
"tweets_count": 0,
"followed": false,
"follow": false,
"is_tencent_user": false
},
"stared": false,
"watched": false,
"recommended": 0,
"shared": false,
"is_member": false,
"max_member": 20,
"groupId": 0,
"plan": 1,
"isTeam": false,
"isDemo": false
}
],
"page": 1,
"pageSize": 10,
"totalPage": 1,
"totalRow": 1
}
}
响应示例
Status: 200 OK
{
"code": 0,
"data": {
"created_at": 1418376096000,
"git_url": "git://git.coding.net/coding/Coding-iOS.git",
"ssh_url": "git@git.coding.net:coding/Coding-iOS.git",
"svn_url": "svn+ssh://svn@svn.coding.net/coding/Coding-iOS",
"is_public": false,
"https_url": "https://git.coding.net/coding/Coding-iOS.git",
"vcs_type": "git",
"subversion_url": "subversion.coding.net/coding/Coding-iOS",
"id": 38894,
"name": "Coding-iOS",
"display_name": "Coding-iOS",
"owner_id": 93,
"owner_user_name": "coding",
"owner_user_picture": "https://dn-coding-net-production-static.codehub.cn/512b2a62-956b-4ef8-8e84-b3c66e71468f.png?imageMogr2/auto-orient/format/png/crop/!300x300a0a0",
"owner_user_home": "<a href=\"https://coding.net/u/coding\">coding</a>",
"project_path": "/u/coding/p/Coding-iOS",
"status": 1,
"type": 2,
"updated_at": 1534908304000,
"last_updated": 1534908304000,
"fork_count": 978,
"star_count": 1042,
"watch_count": 943,
"download_count": 355,
"pin": false,
"depot_path": "/u/coding/p/Coding-iOS/git",
"forked": false,
"un_read_activities_count": 15,
"icon": "https://dn-coding-net-production-static.codehub.cn/198b9af0-5396-4cd6-b160-8f5dd078145d.png",
"current_user_role_id": 100,
"current_user_role": "owner",
"owner": {
"tags_str": "云计算追随者, 技术风向标",
"tags": "19,32",
"job_str": "产品",
"job": 2,
"sex": 0,
"location": "广东 深圳",
"company": "Coding.net",
"slogan": "",
"website": "",
"introduction": "",
"avatar": "https://dn-coding-net-production-static.codehub.cn/512b2a62-956b-4ef8-8e84-b3c66e71468f.png?imageMogr2/auto-orient/format/png/crop/!300x300a0a0",
"gravatar": "",
"lavatar": "https://dn-coding-net-production-static.codehub.cn/512b2a62-956b-4ef8-8e84-b3c66e71468f.png?imageMogr2/auto-orient/format/png/crop/!300x300a0a0",
"created_at": 1403329814000,
"last_logined_at": 1553703523000,
"last_activity_at": 1553866775280,
"global_key": "coding",
"name": "coding",
"name_pinyin": "",
"updated_at": 1553703524000,
"path": "/u/coding",
"status": 1,
"is_member": 0,
"id": 93,
"vip": 4,
"vip_expired_at": 1562256000000,
"follows_count": 0,
"fans_count": 0,
"tweets_count": 0,
"followed": false,
"follow": false,
"is_tencent_user": false
},
"stared": false,
"watched": false,
"recommended": 0,
"shared": true,
"is_member": true,
"max_member": 20,
"groupId": 0,
"plan": 1,
"isTeam": false,
"isDemo": false,
"test": [
"code-search"
]