repo
commit

Retrieve a commit

Changed on
get/repo/{connection_id}/commit/{id}

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/repo/{connection_id}/commit/{id}
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Commit

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

user_idstring

(reference to HrisEmployee)

repo_idstring required

(reference to RepoRepository)

messagestring
branch_idstring

(reference to RepoBranch)

pullrequest_idsstring[]
lines_addednumber
lines_deletednumber
lines_changednumber
rawobject

Changes

    • info

      added the enum value metadata to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status

    • info

      added the enum value pullrequest_ids to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status