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 |
||
22 | class Comments extends API\Api |
||
23 | { |
||
24 | /** |
||
25 | * Get a list of a pull request comments |
||
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 $id ID of the pull request |
||
31 | * @return ResponseInterface |
||
32 | */ |
||
33 | 1 | public function all($account, $repo, $id) |
|
39 | |||
40 | /** |
||
41 | * Get an individual pull request comment |
||
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 $requestID An integer representing an id for the request. |
||
47 | * @param int $commentID The comment identifier. |
||
48 | * @return ResponseInterface |
||
49 | */ |
||
50 | 1 | public function get($account, $repo, $requestID, $commentID) |
|
56 | |||
57 | /** |
||
58 | * Add a new comment |
||
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 $requestID An integer representing an id for the request. |
||
64 | * @param string $content The comment. |
||
65 | * @return ResponseInterface |
||
66 | */ |
||
67 | 1 | public function create($account, $repo, $requestID, $content) |
|
75 | |||
76 | /** |
||
77 | * Update an existing comment |
||
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 $requestID An integer representing an id for the request. |
||
83 | * @param string $content The comment. |
||
84 | * @param int $commentID The comment identifier. |
||
85 | * @return ResponseInterface |
||
86 | */ |
||
87 | 1 | public function update($account, $repo, $requestID, $commentID, $content) |
|
95 | |||
96 | /** |
||
97 | * Delete a pull request comment |
||
98 | * |
||
99 | * @access public |
||
100 | * @param string $account The team or individual account owning the repository. |
||
101 | * @param string $repo The repository identifier. |
||
102 | * @param int $requestID An integer representing an id for the request. |
||
103 | * @param int $commentID The comment identifier. |
||
104 | * @return ResponseInterface |
||
105 | */ |
||
106 | 1 | public function delete($account, $repo, $requestID, $commentID) |
|
112 | } |
||
113 |