Views: 100
Last Modified: 21.09.2020

Getting information on Open Channel API revisions

REST method: imopenlines.revision.get

Revision: 2

Parameters

None.

Example

JavaScript

BX24.callMethod('imopenlines.revision.get', {}, function(result){
    if(result.error())
    {
        console.error(result.error().ex);
    }
    else
    {
        console.log(result.data());
    }
});

PHP

$result = restCommand('imopenlines.revision.get', Array(
), $_REQUEST["auth"]);

Response example

{    
    "result": {
        "rest": 2,
        "web": 1,
        "mobile": 1,
    }
}

Key description:

  • rest – API revision for REST clients
  • web – API revision for web/desktop client
  • mobile – API revision for mobile client


Courses developed by «Bitrix», Inc.