We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395 still has access to your repository or
update the API account.
| 1 | <?php |
||
| 20 | class Comments extends API\Api |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Get all comments for specified issue |
||
| 24 | * |
||
| 25 | * Comments are returned in DESC order by posted date. |
||
| 26 | * |
||
| 27 | * @access public |
||
| 28 | * @param string $account The team or individual account owning the repository. |
||
| 29 | * @param string $repo The repository identifier. |
||
| 30 | * @param int $issueID The issue identifier. |
||
| 31 | * @return ResponseInterface |
||
| 32 | */ |
||
| 33 | 1 | public function all($account, $repo, $issueID) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * Get an individual comment for specified issue |
||
| 42 | * |
||
| 43 | * @access public |
||
| 44 | * @param string $account The team or individual account owning the repository. |
||
| 45 | * @param string $repo The repository identifier. |
||
| 46 | * @param int $issueID The issue identifier. |
||
| 47 | * @param int $commentID The comment identifier. |
||
| 48 | * @return ResponseInterface |
||
| 49 | */ |
||
| 50 | 1 | public function get($account, $repo, $issueID, $commentID) |
|
| 56 | |||
| 57 | /** |
||
| 58 | * Add a new comment to specified issue |
||
| 59 | * |
||
| 60 | * @access public |
||
| 61 | * @param string $account The team or individual account owning the repository. |
||
| 62 | * @param string $repo The repository identifier. |
||
| 63 | * @param int $issueID The issue identifier. |
||
| 64 | * @param array $content The comment. |
||
| 65 | * @return ResponseInterface |
||
| 66 | */ |
||
| 67 | 1 | public function create($account, $repo, $issueID, $content) |
|
| 75 | |||
| 76 | /** |
||
| 77 | * Update an existing comment to specified issue |
||
| 78 | * |
||
| 79 | * @access public |
||
| 80 | * @param string $account The team or individual account owning the repository. |
||
| 81 | * @param string $repo The repository identifier. |
||
| 82 | * @param int $issueID The issue identifier. |
||
| 83 | * @param array $content The comment. |
||
| 84 | * @param int $commentID The comment identifier. |
||
| 85 | * @return ResponseInterface |
||
| 86 | 1 | */ |
|
| 87 | public function update($account, $repo, $issueID, $commentID, $content) |
||
| 95 | } |
||
| 96 |