HS.HC.InstanceConfig.Resource.EventCache
class HS.HC.InstanceConfig.Resource.EventCache extends HS.REST.Model.Resource
This RESTHandler provides the EventLog endpoints each namespace that logs events. The '/$changes' endpoint is polled periodically by the central log to aggregate events from all namespacesMethod Inventory
Parameters
parameter MEDIATYPE = application/vnd.intersystems.com.hs.sys.event-cache.v1+json;
Inherited description: Content-Type implemented in this class
Subclasses MAY override this
parameter RESOURCENAME = $$$ResourceEventCache;
Name of the resource at the REST level
Subclasses MUST override this
parameter SecurityResourceName = %HSAdmin_EventLogManagement;
Methods
classmethod CheckPermission(pID As %String, pOperation As %String, pUserContext As %RegisteredObject, ByRef URLParams) as %Boolean
Checks the user's permission for a particular operation on a particular record.
pOperation may be one of:
CREATE, READ, UPDATE, DELETE, QUERY, ACTION:
pUserContext is supplied by GetUserContext()
classmethod getChanges(params As %DynamicObject) as %DynamicObject
REST API
url: GET /changes
Input JSON properties
url: GET /changes
Input JSON properties
- - Specifies that, at most,
entries be returned (default=1000) - after - Specifies that the result include the next sequential entries after
- mrn - Specifies that the result be limited to changes in the specified
(default all mrn's) - timeout - Specifies how many seconds the request will wait before returning with no data.
- after - Specifies that the result include the next sequential entries after
classmethod setTraceMode(state As %DynamicObject)
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %JSONExport()
- %JSONExportToStream()
- %JSONExportToString()
- %JSONImport()
- %JSONMappingInfo()
- %JSONNew()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- DeleteModelInstance()
- GetCollection()
- GetModelInstance()
- JSONExport()
- JSONExportToStream()
- JSONExportToString()
- JSONImport()
- ModifyOpenAPIInfo()
- SaveModelInstance()
- Supports()
- SupportsDefault()
- Version()