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 |
||
| 23 | class Issues extends API\Api |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * GET a list of issues in a repository's tracker |
||
| 27 | * |
||
| 28 | * @access public |
||
| 29 | * @param string $account The team or individual account owning the repository. |
||
| 30 | * @param string $repo The repository identifier. |
||
| 31 | * @param array $options Filtering parameters. |
||
| 32 | * @return ResponseInterface |
||
| 33 | * |
||
| 34 | * @see https://confluence.atlassian.com/x/1w2mEQ |
||
| 35 | */ |
||
| 36 | 1 | public function all($account, $repo, array $options = array()) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * GET an individual issue |
||
| 46 | * |
||
| 47 | * @access public |
||
| 48 | * @param string $account The team or individual account owning the repository. |
||
| 49 | * @param string $repo The repository identifier. |
||
| 50 | * @param int $issueID The issue identifier. |
||
| 51 | * @return ResponseInterface |
||
| 52 | */ |
||
| 53 | 1 | public function get($account, $repo, $issueID) |
|
| 59 | |||
| 60 | /** |
||
| 61 | * POST a new issue |
||
| 62 | * |
||
| 63 | * @access public |
||
| 64 | * @param string $account The team or individual account owning the repository. |
||
| 65 | * @param string $repo The repository identifier. |
||
| 66 | * @param array $options Issue parameters |
||
| 67 | * @return ResponseInterface |
||
| 68 | * |
||
| 69 | 1 | * @throws \InvalidArgumentException |
|
| 70 | * |
||
| 71 | 1 | * @see https://confluence.atlassian.com/display/BITBUCKET/issues+Resource#issuesResource-POSTanewissue |
|
| 72 | 1 | */ |
|
| 73 | public function create($account, $repo, array $options = array()) |
||
| 87 | |||
| 88 | /** |
||
| 89 | 3 | * Update existing issue |
|
| 90 | * |
||
| 91 | 3 | * @access public |
|
| 92 | 2 | * @param string $account The team or individual account owning the repository. |
|
| 93 | 2 | * @param string $repo The repository identifier. |
|
| 94 | * @param int $issueID The issue identifier. |
||
| 95 | * @param array $options Issue parameters |
||
| 96 | * @return ResponseInterface |
||
| 97 | 1 | * |
|
| 98 | 1 | * @see https://confluence.atlassian.com/display/BITBUCKET/issues+Resource#issuesResource-Updateanexistingissue |
|
| 99 | 1 | */ |
|
| 100 | public function update($account, $repo, $issueID, array $options) |
||
| 108 | |||
| 109 | /** |
||
| 110 | * Delete issue |
||
| 111 | * |
||
| 112 | * @access public |
||
| 113 | * @param string $account The team or individual account owning the repository. |
||
| 114 | * @param string $repo The repository identifier. |
||
| 115 | 1 | * @param int $issueID The issue identifier. |
|
| 116 | * @return ResponseInterface |
||
| 117 | 1 | */ |
|
| 118 | 1 | public function delete($account, $repo, $issueID) |
|
| 124 | |||
| 125 | /** |
||
| 126 | * Get comments |
||
| 127 | * |
||
| 128 | * @access public |
||
| 129 | * @return Repositories\Issues\Comments |
||
| 130 | * |
||
| 131 | * @throws \InvalidArgumentException |
||
| 132 | 1 | * @codeCoverageIgnore |
|
| 133 | */ |
||
| 134 | 1 | public function comments() |
|
| 138 | } |
||
| 139 |