diff --git a/src/Core/DeegraphServer.php b/src/Core/DeegraphServer.php index 9ca2da4..5ba9623 100644 --- a/src/Core/DeegraphServer.php +++ b/src/Core/DeegraphServer.php @@ -29,16 +29,6 @@ class DeegraphServer $this->AllowSelfSignedCerts = $allowSelfSignedCerts; } - /** - * Runs an API request against the Deegraph Server, and returns back information about the Deegraph Server. - * @return ServerInfo - */ - public function ServerInfo(): ServerInfo - { - $response = $this->RunRawRequest(endpoint: "/api/v1/@server_info"); - return new ServerInfo(response: $response); - } - /** * Runs a request against the Deegraph server. * @@ -169,4 +159,19 @@ class DeegraphServer ); return new DeegraphNodeDetails($response); } + + /** + * Runs an API request against the Deegraph Server, and returns back information about the Deegraph Server. + * @return ServerInfo + */ + public function ServerInfo(UUID $actorID): ServerInfo + { + $response = $this->RunRawRequest( + actorID: $actorID, + endpoint: "/api/v1/@server_info", + method: "GET", + body: null, + ); + return new ServerInfo(response: $response); + } }