Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 1.03 KB

File metadata and controls

17 lines (9 loc) · 1.03 KB

Hooks

The following hooks classes all inherit the SDKCommon class.

getHooks

This class utilizes getApps to iterate over every managed application, and gathers all execution hooks for each application. It then combines execution hooks for all applications into a single data structure.

In large environments, an appFilter (exact match based on either the application name or ID) can be provided which only makes a single /executionHooks API call to speed up operations.

createHook

This class takes in an appID and scriptID (among other arguments) to create an execution hook for a single app based on a single script. It is likely this class needs to be called multiple times per managed application based on the types of execution hook required.

destroyHook

This class takes in an appID and hookID and destroys the execution hook.