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 |
||
24 | class Groups extends Api |
||
25 | { |
||
26 | /** |
||
27 | * Get a list of groups. |
||
28 | * |
||
29 | * If `$filters` is not omitted, will return a list of matching groups. |
||
30 | * |
||
31 | * <example> |
||
32 | * $filters = array( |
||
33 | * 'group' => array('account_name/group_slug', 'other_account/group_slug') |
||
34 | * ); |
||
35 | * </example> |
||
36 | * |
||
37 | * @access public |
||
38 | * @param string $account The team or individual account owning the repository. |
||
39 | * @param array $filters |
||
40 | 2 | * @return ResponseInterface |
|
41 | */ |
||
42 | public function get($account, array $filters = array()) |
||
57 | |||
58 | /** |
||
59 | * Create a new group |
||
60 | * |
||
61 | * @access public |
||
62 | * @param string $account The team or individual account owning the repository. |
||
63 | * @param string $name The name of the group. |
||
64 | 1 | * @return ResponseInterface |
|
65 | */ |
||
66 | 1 | public function create($account, $name) |
|
73 | |||
74 | /** |
||
75 | * Update a group |
||
76 | * |
||
77 | * @access public |
||
78 | * @param string $account The team or individual account owning the repository. |
||
79 | * @param string $name The name of the group. |
||
80 | * @param array $params |
||
81 | 1 | * @return ResponseInterface |
|
82 | */ |
||
83 | 1 | public function update($account, $name, array $params) |
|
90 | |||
91 | /** |
||
92 | * Delete a group |
||
93 | * |
||
94 | * @access public |
||
95 | * @param string $account The team or individual account owning the repository. |
||
96 | * @param string $name The name of the group. |
||
97 | 1 | * @return ResponseInterface |
|
98 | */ |
||
99 | 1 | public function delete($account, $name) |
|
105 | |||
106 | /** |
||
107 | * Get members |
||
108 | * |
||
109 | * @access public |
||
110 | * @return Groups\Members |
||
111 | * |
||
112 | * @throws \InvalidArgumentException |
||
113 | * @codeCoverageIgnore |
||
114 | */ |
||
115 | public function members() |
||
119 | } |
||
120 |