메소드 | 설명 | |
---|---|---|
createComment ( $owner, $repo, $number, $body, $position, $id, $file ) | Create a comment | |
deleteComment ( $owner, $repo, $number ) | Delete a comment | |
editComment ( $owner, $repo, $number, $body ) | Edit a comment | |
getSingleComment ( $owner, $repo, $number ) : GitHubPullComment | Get a single comment | |
listCommentsInRepository ( $owner, $repo, $sort = null, $direction = null, $since = null ) : array |
List comments in a repository | |
listCommentsOnPullRequest ( $owner, $repo, $number ) : array |
List comments on a pull request |
public createComment ( $owner, $repo, $number, $body, $position, $id, $file ) |
public getSingleComment ( $owner, $repo, $number ) : GitHubPullComment | ||
리턴 | GitHubPullComment |
public listCommentsInRepository ( $owner, $repo, $sort = null, $direction = null, $since = null ) : array |
||
$sort | String (Optional) `created` or `updated` | |
$direction | String (Optional) `asc` or `desc`. Ignored without `sort` parameter. | |
$since | String (Optional) of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ | |
리턴 | array |
public listCommentsOnPullRequest ( $owner, $repo, $number ) : array |
||
리턴 | array |