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 |
||
21 | class Commits extends Api |
||
22 | { |
||
23 | /** |
||
24 | * Get a list of commits |
||
25 | * |
||
26 | * @access public |
||
27 | * @param string $account The team or individual account owning the repository. |
||
28 | * @param string $repo The repository identifier. |
||
29 | * @param array $params Additional parameters |
||
30 | * @return ResponseInterface |
||
31 | 2 | */ |
|
32 | public function all($account, $repo, array $params = array()) |
||
46 | |||
47 | /** |
||
48 | * Get an individual commit |
||
49 | * |
||
50 | * @access public |
||
51 | * @param string $account The team or individual account owning the repository. |
||
52 | * @param string $repo The repository identifier. |
||
53 | * @param string $revision A SHA1 value for the commit. |
||
54 | * @return ResponseInterface |
||
55 | 1 | */ |
|
56 | public function get($account, $repo, $revision) |
||
62 | |||
63 | /** |
||
64 | * Approve a commit |
||
65 | * |
||
66 | * @access public |
||
67 | * @param string $account The team or individual account owning the repository. |
||
68 | * @param string $repo The repository identifier. |
||
69 | * @param string $revision A SHA1 value for the commit. |
||
70 | * @return ResponseInterface |
||
71 | 1 | */ |
|
72 | public function approve($account, $repo, $revision) |
||
78 | |||
79 | /** |
||
80 | * Delete a commit approval |
||
81 | * |
||
82 | * NOTE: On success returns `HTTP/1.1 204 NO CONTENT` |
||
83 | * |
||
84 | * @access public |
||
85 | * @param string $account The team or individual account owning the repository. |
||
86 | * @param string $repo The repository identifier. |
||
87 | * @param string $revision A SHA1 value for the commit. |
||
88 | * @return ResponseInterface |
||
89 | 1 | */ |
|
90 | public function deleteApproval($account, $repo, $revision) |
||
96 | |||
97 | /** |
||
98 | * Get comments |
||
99 | * |
||
100 | * @access public |
||
101 | * @return Commits\Comments |
||
102 | * |
||
103 | * @throws \InvalidArgumentException |
||
104 | * @codeCoverageIgnore |
||
105 | */ |
||
106 | public function comments() |
||
110 | } |
||
111 |