[comment]: # ({8b0c7f00-8b0c7f00})
# autoregistration.get

[comment]: # ({/8b0c7f00-8b0c7f00})

[comment]: # ({a0c78d0c-c6a45cf0})
### 描述

`object autoregistration.get(object parameters)`

该方法允许根据给定的参数检索自动注册 object。

::: noteclassic
此方法仅适用于*超级管理员*用户类型。
调用该方法的权限可以在用户角色设置中撤销。更多信息请参见
[User
roles](/manual/web_interface/frontend_sections/users/user_roles)
:::

[comment]: # ({/a0c78d0c-c6a45cf0})

[comment]: # ({3a8de98a-24b20f8d})
### 参数

`(object)` 定义所需输出的参数。

该方法仅支持一个参数。

|Parameter|[Type](/manual/api/reference_commentary#data-types)|Description|
|--|--|------|
|output|query|此参数在 [参考说明](/manual/api/reference_commentary#common-get-method-parameters) 中有说明。|

[comment]: # ({/3a8de98a-24b20f8d})

[comment]: # ({805927e0-805927e0})
### 返回值

`(object)` 返回自动注册 object。

[comment]: # ({/805927e0-805927e0})

[comment]: # ({caa89384-1f25ddf1})
### 示例

[执行请求](/manual/api#执行请求):


```json
{
   "jsonrpc": "2.0",
    "method": "autoregistration.get",
    "params": {
        "output": "extend"
    },
    "id": 1
}
```
响应：


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

[comment]: # ({/caa89384-1f25ddf1})

[comment]: # ({c74f8347-c74f8347})
### 来源

CAutoregistration::get() 方法位于
*ui/include/classes/api/services/CAutoregistration.php* 文件中。

[comment]: # ({/c74f8347-c74f8347})
