Inconsistent results when using the "Plugin Update Download API" documentation

Answered

Dear community,

I am trying to programmatically download some plugins based on my IntelliJ build version using the official documenation here: https://plugins.jetbrains.com/docs/marketplace/plugin-update-download.html

Now for some plugins this works just fine, for others I get inconsistent results.

For example the IdeaVIM plugin works fine:

curl -I 'https://plugins.jetbrains.com/pluginManager?action=download&build=231.8109.175&id=IdeaVIM'

this returns proper location to the file:

[..]
location: https://plugins.jetbrains.com/files/164/275091/IdeaVim-2.1.0.zip?updateId=275091&pluginId=164&family=INTELLIJ&code=&build=231.8109.175
[..]

Now the official python plugin does not work at all:

curl -I 'https://plugins.jetbrains.com/pluginManager?action=download&build=231.8109.175&id=Pythonid'

returns: 404
whereas on the official marketplace webpage, there is a version for 231.8109.175 build:

https://plugins.jetbrains.com/files/631/312688/python-231.8109.175.zip?updateId=312688&pluginId=631&family=INTELLIJ

I also checked if maybe this URL https://plugins.jetbrains.com/pluginManager does not get updated often, but no version works with it.

e.g. trying with some older versions does not work too:

$ curl -I 'https://plugins.jetbrains.com/pluginManager?action=download&build=223.8836.35&id=Pythonid'
and so on.

Some plugins work, some not.

e.g.  kubernetes also does not work:

$ curl -I 'https://plugins.jetbrains.com/pluginManager?action=download&build=231.8109.175&id=com.intellij.kubernetes'

whereas gittoolbox works
$ curl -I 'https://plugins.jetbrains.com/pluginManager?action=download&build=231.8109.175&id=zielu.gittoolbox'

Is this a bug?

0

Please sign in to leave a comment.