Метод | Описание | |
---|---|---|
createMilestone ( $owner, $repo, $title, $description = null, $state = null, $due_on = null ) : GitHubMilestone | Create a milestone | |
deleteMilestone ( $owner, $repo, $number ) | Delete a milestone | |
getSingleMilestone ( $owner, $repo, $number ) : GitHubMilestone | Get a single milestone | |
listMilestonesForRepository ( $owner, $repo ) : array |
List milestones for a repository | |
updateMilestone ( $owner, $repo, $number, $title = null, $description = null, $state = null, $due_on = null ) : GitHubMilestone | Update a milestone |
public createMilestone ( $owner, $repo, $title, $description = null, $state = null, $due_on = null ) : GitHubMilestone | ||
$description | (Optional) - A description of the milestone. | |
$state | string (Optional) - `open` or `closed`. Default is `open`. | |
$due_on | string (Optional) - ISO 8601 time. | |
Результат | GitHubMilestone |
public deleteMilestone ( $owner, $repo, $number ) |
public getSingleMilestone ( $owner, $repo, $number ) : GitHubMilestone | ||
Результат | GitHubMilestone |
public listMilestonesForRepository ( $owner, $repo ) : array |
||
Результат | array |
public updateMilestone ( $owner, $repo, $number, $title = null, $description = null, $state = null, $due_on = null ) : GitHubMilestone | ||
$description | (Optional) - A description of the milestone. | |
$state | string (Optional) - `open` or `closed`. Default is `open`. | |
$due_on | string (Optional) - ISO 8601 time. | |
Результат | GitHubMilestone |