JGithubPackageRepositories
class JGithubPackageRepositories extends JGithubPackage
GitHub API Activity class for the Joomla Platform.
Methods
List your repositories.
List user repositories.
List organization repositories.
List all repositories.
Create a new repository for the authenticated user or an organization.
Get a repository.
Edit a repository.
List contributors.
List languages.
List Teams
List Tags.
List Branches.
Get a Branch.
Delete a Repository.
Details
object
getListOwn(
string $type = 'all',
string $sort = 'full_name',
string $direction = '')
List your repositories.
List repositories for the authenticated user.
object
getListUser(
string $user,
string $type = 'all',
string $sort = 'full_name',
string $direction = '')
List user repositories.
List public repositories for the specified user.
object
getListOrg(
string $org,
string $type = 'all')
List organization repositories.
List repositories for the specified org.
object
getList(
integer $id)
List all repositories.
This provides a dump of every repository, in the order that they were created.
object
create(
string $name,
string $org = '',
string $description = '',
string $homepage = '',
boolean $private = false,
boolean $has_issues = false,
boolean $has_wiki = false,
boolean $has_downloads = false,
integer $team_id,
boolean $auto_init = false,
string $gitignore_template = '')
Create a new repository for the authenticated user or an organization.
OAuth users must supply repo scope.
object
edit(
string $owner,
string $repo,
string $name,
string $description = '',
string $homepage = '',
boolean $private = false,
boolean $has_issues = false,
boolean $has_wiki = false,
boolean $has_downloads = false,
string $default_branch = '')
Edit a repository.