diff options
author | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-13 21:15:04 +0200 |
---|---|---|
committer | Mehdi Lahmam <mehdi@lahmam.com> | 2017-09-26 13:08:46 +0200 |
commit | f696b04cc88bd38395caf8ccb4003c28f38a9c47 (patch) | |
tree | 21b9e50692aa3a8f16eb86bb266c5c64adc278c9 /doc/api/commits.md | |
parent | 178ae69b80d5ac89a5031fa95e682e58db6689ff (diff) | |
download | gitlab-ce-f696b04cc88bd38395caf8ccb4003c28f38a9c47.tar.gz |
Expose last pipeline details in API response when getting a single commit
Closes #35692.
Diffstat (limited to 'doc/api/commits.md')
-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, |