Commit fd926738 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '27226-deployment-api-docs' into 'master'

Updated deployment api docs with pipeline data

Closes #27226

See merge request gitlab-org/gitlab!19876
parents 388c7524 afb087b6
...@@ -62,6 +62,15 @@ Example of response ...@@ -62,6 +62,15 @@ Example of response
"twitter": "", "twitter": "",
"website_url": "", "website_url": "",
"organization": "" "organization": ""
},
"pipeline": {
"created_at": "2016-08-11T02:12:10.222Z",
"id": 36,
"ref": "master",
"sha": "99d03678b90d914dbb1b109132516d71a4a03ea8",
"status": "success",
"updated_at": "2016-08-11T02:12:10.222Z",
"web_url": "http://gitlab.dev/root/project/pipelines/12"
} }
}, },
"environment": { "environment": {
...@@ -122,6 +131,15 @@ Example of response ...@@ -122,6 +131,15 @@ Example of response
"twitter": "", "twitter": "",
"website_url": "", "website_url": "",
"organization": "" "organization": ""
},
"pipeline": {
"created_at": "2016-08-11T07:43:52.143Z",
"id": 37,
"ref": "master",
"sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
"status": "success",
"updated_at": "2016-08-11T07:43:52.143Z",
"web_url": "http://gitlab.dev/root/project/pipelines/13"
} }
}, },
"environment": { "environment": {
...@@ -219,6 +237,15 @@ Example of response ...@@ -219,6 +237,15 @@ Example of response
"created_at": "2016-08-11T13:28:26.000+02:00", "created_at": "2016-08-11T13:28:26.000+02:00",
"message": "Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2" "message": "Merge branch 'rename-readme' into 'master'\r\n\r\nRename README\r\n\r\n\r\n\r\nSee merge request !2"
}, },
"pipeline": {
"created_at": "2016-08-11T07:43:52.143Z",
"id": 42,
"ref": "master",
"sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
"status": "success",
"updated_at": "2016-08-11T07:43:52.143Z",
"web_url": "http://gitlab.dev/root/project/pipelines/5"
}
"runner": null "runner": null
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment