JGithubPackagePulls
class JGithubPackagePulls extends JGithubPackage
GitHub API Pull Requests class for the Joomla Platform.
Methods
Method to create a pull request.
Method to create a pull request from an existing issue.
Method to update a pull request.
Method to get a single pull request.
Method to get a list of commits for a pull request.
Method to get a list of files for a pull request.
Method to list pull requests.
Method to check if a pull request has been merged.
Method to merge a pull request.
Method to create a comment on a pull request.
Method to create a comment in reply to another comment.
Method to delete a comment on a pull request.
Method to update a comment on a pull request.
Method to get a specific comment on a pull request.
Method to get the list of comments on a pull request.
Details
object
create(
string $user,
string $repo,
string $title,
string $base,
string $head,
string $body = '')
Method to create a pull request.
object
createFromIssue(
string $user,
string $repo,
integer $issueId,
string $base,
string $head)
Method to create a pull request from an existing issue.
object
edit(
string $user,
string $repo,
integer $pullId,
string $title = null,
string $body = null,
string $state = null)
Method to update a pull request.
array
getCommits(
string $user,
string $repo,
integer $pullId,
integer $page,
integer $limit)
Method to get a list of commits for a pull request.
array
getFiles(
string $user,
string $repo,
integer $pullId,
integer $page,
integer $limit)
Method to get a list of files for a pull request.
array
getList(
string $user,
string $repo,
string $state = 'open',
integer $page,
integer $limit)
Method to list pull requests.
boolean
isMerged(
string $user,
string $repo,
integer $pullId)
Method to check if a pull request has been merged.
object
merge(
string $user,
string $repo,
integer $pullId,
string $message = '')
Method to merge a pull request.
object
createComment(
string $user,
string $repo,
integer $pullId,
string $body,
string $commitId,
string $filePath,
string $position)
Method to create a comment on a pull request.
object
createCommentReply(
string $user,
string $repo,
integer $pullId,
string $body,
integer $inReplyTo)
Method to create a comment in reply to another comment.
void
deleteComment(
string $user,
string $repo,
integer $commentId)
Method to delete a comment on a pull request.
object
editComment(
string $user,
string $repo,
integer $commentId,
string $body)
Method to update a comment on a pull request.