HS.REST.API
abstract class HS.REST.API
API methods for the REST infrastructure.Method Inventory
- GetErrorLevelForInstance()
- GetErrorLevelForWebApp()
- GetResolvedErrorLevel()
- SetErrorLevelForInstance()
- SetErrorLevelForWebApp()
Methods
classmethod GetErrorLevelForInstance() as HS.REST.DataType.ErrorLevel
Get error level for all REST APIs for the instance.
Returns "" if unset.
@API.Method
Returns "" if unset.
@API.Method
classmethod GetErrorLevelForWebApp(pWebAppName As %String) as HS.REST.DataType.ErrorLevel
Get error level for specific REST API for web app for the instance.
Returns "" if unset.
@API.Method
Returns "" if unset.
@API.Method
classmethod GetResolvedErrorLevel(pWebAppName As %String = "") as HS.REST.DataType.ErrorLevel
Get resolved error level, taking into account instance and web app level settings.
Error levels for web apps override instance-level settings. If unset at both,
web app and instance level, error level defaults to $$$ErrorVerbosityLvlMinimal.
@Argument pWebAppName Name of web application.
@Argument pWebAppName Name of web application.
classmethod SetErrorLevelForInstance(pErrorLevel As HS.REST.DataType.ErrorLevel)
Set error level for all REST APIs for the instance.
@API.Method
@Argument pErrorLevel Error level. Look up possible values in VALUELIST of data type.
@API.Method
@Argument pErrorLevel Error level. Look up possible values in VALUELIST of data type.
classmethod SetErrorLevelForWebApp(pErrorLevel As HS.REST.DataType.ErrorLevel, pWebAppName As %String)
Set error level for specific REST API for web app for the instance.
@API.Method
@Argument pErrorLevel Error level. Look up possible values in VALUELIST of data type.
@Argument pWebAppName Name of web application.
@API.Method
@Argument pErrorLevel Error level. Look up possible values in VALUELIST of data type.
@Argument pWebAppName Name of web application.