Sidebar

manual:api:reference:autoregistration:get

autoregistration.get

Description

object autoregistration.get(object parameters)

The method allows to retrieve autoregistration object according to the given parameters.

Parameters

(object) Parameters defining the desired output.

The method supports only one parameter.

Parameter Type Description
output queryThis parameter being common for all get methods described in the reference commentary.

Return values

(object) Returns autoregistration object.

Examples

Request:

{
   "jsonrpc": "2.0",
    "method": "autoregistration.get",
    "params": {
        "output": "extend"
    },
    "auth": "038e1d7b1735c6a5436ee9eae095879e",
    "id": 1
}

Response:

{
    "jsonrpc": "2.0",
    "result": {
        "tls_accept": "3"
    },
    "id": 1
}

Source

CAutoregistration::get() in ui/include/classes/api/services/CAutoregistration.php.