Áú»¢¶Ä²©

You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Áú»¢¶Ä²© documentation into your native language.

apiinfo.version

Description

string apiinfo.version(array)

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

This method is only available to unauthenticated users.

Parameters

(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": "7.4.0",
           "id": 1
       }

Source

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