repo
pullrequest

Retrieve a pullrequest

get/repo/{connection_id}/pullrequest/{id}

Request

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

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Pullrequest

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_idsstring[]
repo_idstring

(reference to RepoRepository)

titlestring
notesstring
target_branch_idstring
source_branch_idstring
status'PENDING' | 'APPROVED' | 'REJECTED'
labelsstring[]
closed_atstring date-time

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

commit_idsstring[]
rawunknown

Changes

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