Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.36 KB

README.md

File metadata and controls

15 lines (8 loc) · 1.36 KB

OEM Tricks (API automation)

Different code snippets often needed by our OEMs to automate things around management and app modifications. I put here a collection of some typical requirements, feel free to steal and reuse whatever code.

  1. LoginAs (PowerShell + NodeJs) uses QPS API (Proxy Service API) to impersonate a given user from a Powershell command-line

  2. QPS (NodeJs) same as above but only the essential code for NodeJs, it opens a minimalistic Express server through which you can login as anybody

  3. QRS unallocate accesspasses (NodeJs) looks for any allocated Professional and Analyzer access pass that hasn't been used by the user for more than 7 days and unallocates it. This can help recycle licenses.

  4. Minimalistic Enigma example (NodeJs) returns a list of available documents using Engine API wrapper "Enigma"

  5. Two best friends QRS+Enigma work togehter to achieve a sequence of tasks like creating an empty copy of an app