Microsoft.ConfidentialLedger (preview:2024-08-22)

2025/03/06 • 2 new, 1 updated methods

GetRuntimeOptions (new)
Description It returns the runtime options
Reference Link ¶

⚼ Request

GET:  /app/userDefinedEndpoints/runtimeOptions
{
api-version: string ,
}

⚐ Response (200)

{
log_exception_details: boolean ,
max_cached_interpreters: integer ,
max_execution_time_ms: integer ,
max_heap_bytes: integer ,
max_stack_bytes: integer ,
return_exception_details: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
UpdateRuntimeOptions (new)
Description Updates the runtime options.
Reference Link ¶

⚼ Request

PATCH:  /app/userDefinedEndpoints/runtimeOptions
{
api-version: string ,
JSRuntimeOptions:
{
log_exception_details: boolean ,
max_cached_interpreters: integer ,
max_execution_time_ms: integer ,
max_heap_bytes: integer ,
max_stack_bytes: integer ,
return_exception_details: boolean ,
}
,
}

⚐ Response (200)

{
log_exception_details: boolean ,
max_cached_interpreters: integer ,
max_execution_time_ms: integer ,
max_heap_bytes: integer ,
max_stack_bytes: integer ,
return_exception_details: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
GetUserDefinedEndpointsModule (updated)
Description It gets the module for the user defined endpoint.
Reference Link ¶

⚶ Changes

{
  "#id": "GetUserDefinedEndpointsModule",
  "$parameters": {
    "@added_c61b286f65514b23968136933d56a214": {
      "#name": "module_name",
      "Description": "module name of the user defined endpoint",
      "Required": true,
      "Type": "string"
    },
    "@removed_ff8d5988bc994214a6b7d5c47a223ffd": {
      "#name": "module",
      "Description": "module name of the user defined endpoint",
      "Required": true,
      "Type": "string"
    }
  }
}

⚼ Request

GET:  /app/userDefinedEndpoints/modules
{
api-version: string ,
module_name: string ,
}

⚐ Response (200)

{
module: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}