%Api.Mgmnt.v2.disp
class %Api.Mgmnt.v2.disp extends %REST.disp
The API Management API manages the APIs which are defined using a RESTSpec. In addition limited supported for legacy REST applications based on direct subclassing of %CSP.REST is included. Dispatch class defined by RESTSpec in %Api.Mgmnt.v2.specThis class was generated by : %Api.Mgmnt.v2.spec.cls
Method Inventory
- CreateApplication()
- DeleteApplication()
- GetAllRESTApps()
- GetAllWebRESTApps()
- GetApplication()
- GetRESTApps()
- GetWebRESTApplication()
- GetWebRESTApps()
Parameters
parameter CONTENTTYPE = application/json;
Default the Content-Type for this application.
parameter CONVERTINPUTSTREAM = 1;
By default convert the input stream to Unicode
parameter HandleCorsRequest = 1;
This parameter influences the CORS support. The default is an empty string meaning 'not specified'.
If set to true (1) then CORS processing is ON. If set to false (0) then CORS processing is OFF.
If left unset "" then the decision to process CORS is delegated to the setting on the URL map route.
parameter IgnoreWrites = 1;
Ignore any writes done directly by the REST method.
parameter SpecificationClass = %Api.Mgmnt.v2.spec;
The class containing the RESTSpec which generated this class
Methods
Create a REST applicaiton from the OpenAPI 2.0 definition.
Delete a REST application.
classmethod GetAllRESTApps() as %Status
Get the list of all REST applications
classmethod GetAllWebRESTApps() as %Status
Get the list of all legacy REST applications
Get OpenAPI 2.0 definition of this REST application
Get the list of all REST applications in a namespace
Get OpenAPI 2.0 definition of this %CSP.REST based REST application.
Get the list of all legacy REST applications in a namespace
Inherited Members
Inherited Methods
- %ClassIsLatestVersion()
- %ClassName()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %New()
- %OriginalNamespace()
- %PackageName()
- %SetModified()
- AcceptsContentType()
- ConvertParameter()
- Decrypt()
- DispatchRequest()
- DrawCSS3STYLE()
- DrawHEAD()
- DrawSTHEAD()
- DrawSTTitle()
- DrawSTYLE()
- DrawTitle()
- DrawTitleSection()
- Encrypt()
- Error()
- EscapeHTML()
- EscapeURL()
- GetAuthChallenge()
- Http403()
- Http404()
- Http405()
- Http500()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- Link()
- Login()
- OnErrorSetup()
- OnHTTPHeader()
- OnHandleCorsRequest()
- OnHandleOptionsRequest()
- OnLoginPage()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- OnSecurityTokenPage()
- Page()
- QuoteJS()
- ReportHttpStatusCode()
- RewriteURL()
- SetResponseHeaderIfEmpty()
- ShowError()
- StartTimer()
- StatusToJSON()
- StatusToProxyObject()
- StopTimer()
- SupportedVerbs()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()