From 7926498f8cd2c3dbc158dbeef29b8e975e9beb69 Mon Sep 17 00:00:00 2001 From: Andy Cox Date: Tue, 25 Feb 2014 12:38:29 -0500 Subject: [PATCH] Add single deployment get --- content/v3/repos/deployments.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/v3/repos/deployments.md b/content/v3/repos/deployments.md index dfe6bab9e8..70598bb760 100644 --- a/content/v3/repos/deployments.md +++ b/content/v3/repos/deployments.md @@ -95,6 +95,15 @@ Users with pull access can view deployments for a repository: <%= headers 200, :pagination => default_pagination_rels %> <%= json(:deployment) { |h| [h] } %> +## Get a single deployment + + GET /repos/:owner/:repo/deployments/:id + +### Response + +<%= headers 200, :pagination => default_pagination_rels %> +<%= json :deployment %> + ## Create a Deployment If your repository is taking advantage of [commit statuses](/v3/repos/statuses),