Repositories

Latest Revision

Returns the latest remote commit reference for the specified branch.

get/projects/{project_id}/repository/latest_revision

Request

  • Base URL: https://sg.deployhq.com
  • URL: https://sg.deployhq.com/projects/{project_id}/repository/latest_revision
  • Auth: HTTP basic

Path parameters

project_idstring required

The identifier or permalink of the project

Query parameters

branchstring required

The branch name to get the latest revision for

Response

Success

refstring

Changes

No recorded changes to this operation across all 1 revision of this API.