Commit 2b2c6eb5 authored by Gary Wong's avatar Gary Wong

Implement the v2 GetVersion API.

parent 0af64ce6
......@@ -92,7 +92,14 @@ my $API_VERSION = 2;
#
sub GetVersion()
{
return GeniResponse->Create( GENIRESPONSE_SUCCESS, $API_VERSION );
my $blob = {
"api" => $API_VERSION,
"level" => 1,
"input_rspec" => ( "0.1", 2 ),
"output_rspec" => "0.1"
};
return GeniResponse->Create( GENIRESPONSE_SUCCESS, $blob );
}
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment