JGithubMilestones
class JGithubMilestones extends JGithubObject
GitHub API Milestones class for the Joomla Platform.
Methods
array
getList(
string $user,
string $repo,
string $state = 'open',
string $sort = 'due_date',
string $direction = 'desc',
integer $page,
integer $limit)
Method to get the list of milestones for a repo.
object
get(
string $user,
string $repo,
integer $milestoneId)
Method to get a specific milestone.
object
create(
string $user,
string $repo,
integer $title,
string $state = null,
string $description = null,
string $due_on = null)
Method to create a milestone for a repository.
object
edit(
string $user,
string $repo,
integer $milestoneId,
integer $title = null,
string $state = null,
string $description = null,
string $due_on = null)
Method to update a milestone.
void
delete(
string $user,
string $repo,
integer $milestoneId)
Method to delete a milestone.
Details
array
getList(
string $user,
string $repo,
string $state = 'open',
string $sort = 'due_date',
string $direction = 'desc',
integer $page,
integer $limit)
Method to get the list of milestones for a repo.
object
create(
string $user,
string $repo,
integer $title,
string $state = null,
string $description = null,
string $due_on = null)
Method to create a milestone for a repository.