JGithubPackageIssuesComments
class JGithubPackageIssuesComments extends JGithubPackage
GitHub API Comments class for the Joomla Platform.
The Issue Comments API supports listing, viewing, editing, and creating comments on issues and pull requests.
Methods
array
getList(
string $owner,
string $repo,
integer $issueId,
integer $page,
integer $limit)
Method to get the list of comments on an issue.
array
getRepositoryList(
string $owner,
string $repo,
string $sort = 'created',
string $direction = 'asc',
JDate $since = null)
Method to get the list of comments in a repository.
mixed
get(
string $owner,
string $repo,
integer $id)
Method to get a single comment.
object
edit(
string $user,
string $repo,
integer $commentId,
string $body)
Method to update a comment on an issue.
object
create(
string $user,
string $repo,
integer $issueId,
string $body)
Method to create a comment on an issue.
boolean
delete(
string $user,
string $repo,
integer $commentId)
Method to delete a comment on an issue.
Details
array
getList(
string $owner,
string $repo,
integer $issueId,
integer $page,
integer $limit)
Method to get the list of comments on an issue.
array
getRepositoryList(
string $owner,
string $repo,
string $sort = 'created',
string $direction = 'asc',
JDate $since = null)
Method to get the list of comments in a repository.
object
edit(
string $user,
string $repo,
integer $commentId,
string $body)
Method to update a comment on an issue.