Group query functions
This commit is contained in:
@ -119,12 +119,16 @@ class SlotDbClient
|
||||
*/
|
||||
public function queryGroup(string $groupId): array
|
||||
{
|
||||
throw new \Exception("Not implemented");
|
||||
$res = $this->get("/group/{$groupId}");
|
||||
$data = json_decode($res->getBody(), true);
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function updateGroup(string $groupId, array $props): array
|
||||
{
|
||||
throw new \Exception("Not implemented");
|
||||
$res = $this->post("/group/{$groupId}", $props);
|
||||
$data = json_decode($res->getBody(), true);
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function deleteGroup(string $groupId): void
|
||||
|
Reference in New Issue
Block a user