Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 766 Bytes

USAGE.md

File metadata and controls

44 lines (34 loc) · 766 Bytes

dust-webservice

Local web service for calling scripts for DUST (amongst others if you wish).


Usage

🗝   Authenticate using jwt bearer token. Ask @NoenAndré if you need access.
⚠️   args in JSON body is optional, but must be of type object if provided.


API endpoints

GET /:service/invoke

{
  "fileName": "ScriptFileName.ps1",
  "args": {
    "SamAccountName": "sak8976",
    "Properties": [
      "title",
      "mail"
    ],
  }
}

GET /invoke/psfile

{
  "filePath": "C:\\FullPath\\To\\ScriptFileName.ps1",
  "args": {
    "SamAccountName": "sak8976",
    "Properties": [
      "title",
      "mail"
    ],
  }
}