根据请求列表获取 commit note 列表
接口描述
中文:根据请求列表获取 commit note 列表
英文:DescribeNotesByCommits
输入参数
参数名称 | 必选 | 类型 | 描述 |
---|---|---|---|
DepotId | 是 | Integer | 仓库 id |
NoteRef | 是 | String | note 路径 |
Commits | 是 | String | commitId 集合 |
输出参数
参数名称 | 类型 | 描述 |
---|---|---|
Notes | CommitNote | note 信息集合 |
CommitNote 输出参数详情
参数名称 | 类型 | 描述 |
---|---|---|
CommitSha | string | commitSha 值 |
NoteContent | string | note 值 |
示例
输入示例
{
"Action":"DescribeNotesByCommits",
"DepotId":7323,
"NoteRef":"refs/notes/commits",
"Commits": ["commitSha1","commitSha2"]
}
输出示例
{
"Response": {
"RequestId": "c1c83461-dd49-3092-6ccd-4eecbabbd8aa",
"Notes": [
{
"CommitSha": "commitSha1",
"NoteContent": "note 1"
},
{
"CommitSha": "commitSha2",
"NoteContent": "note 2"
}
]
}
}

感谢反馈有用
感谢反馈没用