1 | <?php |
||
16 | class Invites extends Api |
||
17 | { |
||
18 | /** |
||
19 | * List invitations (permission needed: #invites:read) |
||
20 | * List all invitations associated with my user |
||
21 | */ |
||
22 | public function invites() |
||
26 | |||
27 | /** |
||
28 | * Invitation details (permission needed: #invites:read) |
||
29 | * Get the details of an invitation |
||
30 | * |
||
31 | * @param string $identifier |
||
32 | */ |
||
33 | public function details($identifier) |
||
37 | |||
38 | /** |
||
39 | * Respond to Invitation (permission needed: #invites:edit) |
||
40 | * Respond to an invitation |
||
41 | * |
||
42 | * @param string $identifier |
||
43 | * @param string $status Status of your response to the invitation (rejected or accepted) |
||
44 | */ |
||
45 | public function respond($identifier, $status) |
||
53 | } |
||
54 |