*/ public function systemInformation(?int $version = null): array { $response = $this->connection->request('GET', '/api/system', [ 'query' => $version === null ? [] : ['v' => $version], ]); return $this->connection->decode($response); } public function update(Node $node): Response { return $this->connection->request('POST', '/api/update', ['json' => $node->getConfiguration()]); } /** @param list $servers */ public function deauthorize(string $user, array $servers = []): void { $this->connection->request('POST', '/api/deauthorize-user', ['json' => ['user' => $user, 'servers' => $servers]]); } }