diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-26 14:14:07 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-26 14:14:07 +0000 |
commit | 7e71ec199a3aa0852bfdf7f8bb39d96448a58258 (patch) | |
tree | c774eb9bd9ca7c49f9e4c33796967c4384dec59e /doc | |
parent | 8787873299e5e1e23888919f196ccf121db35e0f (diff) | |
parent | f696b04cc88bd38395caf8ccb4003c28f38a9c47 (diff) | |
download | gitlab-ce-7e71ec199a3aa0852bfdf7f8bb39d96448a58258.tar.gz |
Merge branch 'expose-last-pipeline-for-a-commit' into 'master'
Expose last pipeline details in API response when getting a single commit
Closes #35692
See merge request gitlab-org/gitlab-ce!13521
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/commits.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md index 2a78553782f..5a4a8d888b3 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -181,6 +181,12 @@ Example response: "parent_ids": [ "ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba" ], + "last_pipeline" : { + "id": 8, + "ref": "master", + "sha": "2dc6aa325a317eda67812f05600bdf0fcdc70ab0" + "status": "created" + } "stats": { "additions": 15, "deletions": 10, |