Get User Defined Endpoints Module - Get User Defined Endpoints Module
Module for user defined endpoints.
It gets the module for the user defined endpoint.
GET {ledgerEndpoint}/app/userDefinedEndpoints/modules?api-version=2024-12-09-preview&module_name={module_name}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
ledger
|
path | True |
string (uri) |
The Confidential Ledger URL, for example |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
|
module_name
|
query | True |
string |
module name of the user defined endpoint |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
The request has succeeded. |
|
| Other Status Codes |
An unexpected error response. |
Examples
Get User Defined Endpoints Module
Sample request
GET {ledgerEndpoint}/app/userDefinedEndpoints/modules?api-version=2024-12-09-preview&module_name=TESTJS
Sample response
{
"name": "test.js",
"module": "TESTJS"
}
Definitions
| Name | Description |
|---|---|
|
Confidential |
An error response from Confidential Ledger. |
|
Confidential |
An error response from Confidential Ledger. |
|
Module |
Module definition |
ConfidentialLedgerCommon.ConfidentialLedgerError
An error response from Confidential Ledger.
| Name | Type | Description |
|---|---|---|
| error |
An error response from Confidential Ledger. |
ConfidentialLedgerCommon.ConfidentialLedgerErrorBody
An error response from Confidential Ledger.
| Name | Type | Description |
|---|---|---|
| code |
string |
The error code. |
| message |
string |
The error message. |
ModuleDef
Module definition
| Name | Type | Description |
|---|---|---|
| module |
string |
Module |
| name |
string |
Name |