Skip to main content

plugins.upgrade

Moves a GitHub-installed plugin to another release in the same repository.

Request​

{
"id": 8,
"version": "0.2.1"
}

Response​

null

Errors​

CodeReason
-1Plugin not found
-2Plugin is missing required metadata for upgrading
-3Cannot upgrade to same version
-4Release not found
-5Failed to parse release body as JSON
-6Release has no downloadable asset
-7Failed to fetch release asset
-8Failed to write plugin archive to <path>
-9Plugin path is used by another plugin