Plugin update download API
There are two ways to download the plugin version programmatically:
1. Download the latest plugin update compatible with a certain product
https://plugins.jetbrains.com/pluginManager?action=download&id=<pluginXmlId>
&build=<productCode>
-<buildNumber>
Where
pluginXmlId
is specified as aPlugin XML ID
parameter on the right of the plugin's individual update page and in theplugin.xml
.productCode
is a two-character product code (see product codes reference for more information.) It can be blank.buildNumber
is a build number of the IDE (specified in theAbout Dialog
in the product, and in the release notes.)
e.g. for Scala plugin (pluginXmlId=org.intellij.scala
) & IntelliJ IDEA 2017.1 (productCode=IU
, buildNumber=171.3780.107
):
2. Download a specified version of the plugin
https://plugins.jetbrains.com/plugin/download?pluginId=<pluginXmlId>
&version=<version>
Where
pluginXmlId
is specified as aPlugin XML ID
parameter on the right of the plugin's individual update page and in theplugin.xml
.version
is a version of the plugin update.
e.g. for Scala plugin (pluginXmlId=org.intellij.scala
) & Version 2017.1.15
:
https://plugins.jetbrains.com/plugin/download?pluginId=org.intellij.scala&version=2017.1.15