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

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

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

`object autoregistration.get(object parameters)`

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

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

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

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

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

该方法仅支持一个参数。

|参数|[Type](/manual/api/reference_commentary#data-types)|描述|
|--|--|------|
|output|query|该参数在[参考注释](/manual/api/reference_commentary#common-get-method-parameters)中进行了说明。|

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

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

`(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() in
*ui/include/classes/api/services/CAutoregistration.php* 文件中。

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