Áú»¢¶Ä²©

This is the documentation page for an unsupported version of Áú»¢¶Ä²©.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

apiinfo.version

Description

string apiinfo.version(array)

This method allows to retrieve the version of the Áú»¢¶Ä²© API.

Parameters

This method is available to unauthenticated users and must be called without the auth parameter in the JSON-RPC request.

(array) The method accepts an empty array.

Return values

(string) Returns the version of the Áú»¢¶Ä²© API.

Starting from Áú»¢¶Ä²© 2.0.4 the version of the API matches the version of Áú»¢¶Ä²©.

Examples

Retrieving the version of the API

Retrieve the version of the Áú»¢¶Ä²© API.

Request:

{
           "jsonrpc": "2.0",
           "method": "apiinfo.version",
           "params": [],
           "id": 1
       }

Response:

{
           "jsonrpc": "2.0",
           "result": "3.0.0",
           "id": 1
       }

Source

CAPIInfo::version() in frontends/php/include/classes/api/services/CAPIInfo.php.