class RepositoriesController

Methods

__invoke()

This returns a list of repositories the current user has access to.

array|string
list(string $git_type, string $username)

This returns a list of repositories an owner has access to.

array|string
find(string $git_type, string $username, string $repo_name)

This returns an individual repository.

Details

at line 19
__invoke()

This returns a list of repositories the current user has access to.

/repos

Exceptions

Exception

at line 35
array|string list(string $git_type, string $username)

This returns a list of repositories an owner has access to.

/repos/{git_type}/{username}

Parameters

string $git_type
string $username

Return Value

array|string

Exceptions

Exception

at line 49
array|string find(string $git_type, string $username, string $repo_name)

This returns an individual repository.

/repo/{git_type}/{username}/{repo.name}

Parameters

string $git_type
string $username
string $repo_name

Return Value

array|string

Exceptions

Exception