代码托管 CodeArts Repo-根据组名和仓库名查询某仓库某分支对应的提交:响应示例

时间:2023-11-01 16:20:20

响应示例

状态码: 200

OK

{  "result" : {    "total" : 1,    "commits" : [ {      "id" : "a27fafa7d8da2dd55f691bef989226d22f50d8ce",      "message" : "Initial commit",      "parent_ids" : [ ],      "authored_date" : null,      "author_name" : "repo",      "author_email" : "repo@huawei.com",      "committed_date" : "2019-10-15 09:40:29",      "committer_name" : "repo",      "committer_email" : "repo@huawei.com"    } ]  },  "status" : "success"}
support.huaweicloud.com/api-codehub/ShowCommitsByBranch.html