Header

Get latest deployed revision

This method allows you to view the latest deployed revision for your server group.

URL

/projects/<project>/server_groups/<identifier>/latest_revision
  • Replace <project> with the permalink of the project.
  • Replace <identifier> with the identifier of the server group.

HTTP Method

GET

Supported Parameters

None

Example cURL Request

curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
https://test.deployhq.com/projects/project/server-groups/group/latest_revision

Example Response

{
  "ref": "654d9d51d4fa89bd6500ee91324350aeae7e0c7d"
}