Get User Defined Endpoints Module - Get User Defined Endpoints Module
用户定义的端点的模块。
它获取用户定义的终端节点的模块。
GET {ledgerEndpoint}/app/userDefinedEndpoints/modules?api-version=2024-12-09-preview&module_name={module_name}
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
ledger
|
path | True |
string (uri) |
机密账本 URL,例如 |
|
api-version
|
query | True |
string minLength: 1 |
要用于此操作的 API 版本。 |
|
module_name
|
query | True |
string |
用户定义的终端节点的模块名称 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
请求已成功。 |
|
| Other Status Codes |
意外错误响应。 |
示例
Get User Defined Endpoints Module
示例请求
GET {ledgerEndpoint}/app/userDefinedEndpoints/modules?api-version=2024-12-09-preview&module_name=TESTJS
示例响应
{
"name": "test.js",
"module": "TESTJS"
}
定义
| 名称 | 说明 |
|---|---|
|
Confidential |
机密账本的错误响应。 |
|
Confidential |
机密账本的错误响应。 |
|
Module |
模块定义 |
ConfidentialLedgerCommon.ConfidentialLedgerError
机密账本的错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
机密账本的错误响应。 |
ConfidentialLedgerCommon.ConfidentialLedgerErrorBody
机密账本的错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
错误代码。 |
| message |
string |
错误消息。 |
ModuleDef
模块定义
| 名称 | 类型 | 说明 |
|---|---|---|
| module |
string |
模块 |
| name |
string |
Name |