plugin
Update plugin
Pull in git updates for plugin {RepoName}. Supports an optional ?stream=true query parameter for streaming output. Refused when the block the upgrade would land differs materially from the accepted one (or nothing is accepted for this plugin): the reply is then {Status: "Error", Code: "PrivacyMismatch", privacyChanged: true, plugin, pending} -- the same shape as POST /api/plugin's refusal -- and nothing is changed; POST privacyAccepted (below) to proceed. Also refused, without Code, when git fetch fails (offline).
get/api/plugin/{RepoName}/upgrade
Response
Plugin upgraded, or refused