Repositories

Recent Commits

Returns recent commits and tags for the specified branch. Set update to '1' to fetch the latest data from the remote before returning results. Renders the data for the commit selector popup

get/projects/{project_id}/repository/recent_commits

Request

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

Path parameters

project_idstring required

The identifier or permalink of the project

Query parameters

branchstring required

The branch name to get recent commits for

updatestring

Set to '1' to update the repository before getting commits

Response

Success

Changes

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