string apiinfo.version(array)
This method allows to retrieve the version of the Áú»¢¶Ä²© API.
This method is available to unauthenticated users and should be called without the auth
parameter in the JSON-RPC request. Starting from Áú»¢¶Ä²© 2.4 the method will return an error if the auth
parameter is given.
(array)
The method accepts an empty array.
(string)
Returns the version of the Áú»¢¶Ä²© API.
Starting from Áú»¢¶Ä²© 2.0.4 the version of the API matches the version of Áú»¢¶Ä²©.
Retrieve the version of the Áú»¢¶Ä²© API.
Request:
{
"jsonrpc": "2.0",
"method": "apiinfo.version",
"params": [],
"id": 1,
"auth": "16a46baf181ef9602e1687f3110abf8a"
}
Response:
CAPIInfo::version() in frontends/php/api/classes/CAPIInfo.php.