获取代码提交记录
Request method/request path
GET /ms/openapi/api/apigw/v3/projects/{projectId}/pipelines/{pipelineId}/builds/{buildId}/repositoryCommit
Resource description
Get the code commit record
Input parameter description
Path parameter
Parameter name | Parameter type | must | Parameter description | Default value |
---|---|---|---|---|
projectId | string | is | Item ID | |
pipelineId | string | is | Pipeline ID | |
buildId | string | is | buildID |
response
HTTP code | description | Parameter type |
---|---|---|
200 | successful operation |
Request sample
HEADER example
Return example -200
The data is returned to the wrapper model ListCommitResponse
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
data | List<CommitResponse> | no | data |
message | string | no | Error message |
status | integer | is | Status code |
CommitResponse
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
elementId | string | no | elementId |
records | List<CommitData> | no | records |
name | string | no | name |
CommitData
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
elementId | string | no | elementId |
repoId | string | no | repoId |
committer | string | no | committer |
commitTime | integer | no | commitTime |
repoName | string | no | repoName |
commit | string | no | commit |
buildId | string | no | buildId |
comment | string | no | comment |
type | integer | no | type |
url | string | no | url |
pipelineId | string | no | pipelineId |
Last updated