Method to create an issue.
object
create
(string $user, string $repo, string $ref, string $sha)
-
string
$user: The name of the owner of the GitHub repository.
-
string
$repo: The name of the GitHub repository.
-
string
$ref: The name of the fully qualified reference.
-
string
$sha: The SHA1 value to set this reference to.
Method to update a reference.
object
edit
(string $user, string $repo, string $ref, string $sha, [string $force = false])
-
string
$user: The name of the owner of the GitHub repository.
-
string
$repo: The name of the GitHub repository.
-
string
$ref: The reference to update.
-
string
$sha: The SHA1 value to set the reference to.
-
string
$force: Whether the update should be forced. Default to false.
Method to get a reference.
object
get
(string $user, string $repo, string $ref)
-
string
$user: The name of the owner of the GitHub repository.
-
string
$repo: The name of the GitHub repository.
-
string
$ref: The reference to get.
Method to list references for a repository.
array
getList
(string $user, string $repo, [string $namespace = ''], [integer $page = 0], [integer $limit = 0])
-
string
$user: The name of the owner of the GitHub repository.
-
string
$repo: The name of the GitHub repository.
-
string
$namespace: Optional sub-namespace to limit the returned references.
-
integer
$page: Page to request
-
integer
$limit: Number of results to return per page
Inherited Methods
Inherited From JGithubObject
JGithubObject::__construct()
JGithubObject::fetchUrl()
JGithubObject::processResponse()