代码托管 CODEARTS REPO-根据仓库id查询仓库某分支对应的提交,提供更多可选参数:响应示例

时间:2024-11-18 17:05:17

响应示例

状态码: 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-codeartsrepo/ShowCommitsByRepoId.html