Install plugin
Install a new plugin. The request body is a pluginInfo.json structure with branch and sha fields added to specify which branch and commit to install.
privacyAccepted (optional, null allowed) is the privacy block the caller showed the operator, the same field POST /plugin/{RepoName}/upgrade takes. When it matches the block in the cloned copy (sends, collects, sensors, remoteAccess, systemChanges, closedCode) that block is recorded as accepted in config/pluginPrivacyAccepted.json; when it does not -- the listing is behind the repository, or the selected version pins an older commit -- the install still goes ahead and nothing is recorded, so the next update check reports privacyChanged and the Plugins page shows the installed block. A body without the field records nothing.
Request body
Response
Plugin installed