Plugin upload API
Please note that the maximum allowed plugin size is 400 MB.
You should create a permanentToken in My Tokens tab within your JetBrains Marketplace profile dashboard.
Other parameters:
pluginIdis a numeric ID of the plugin, it can be retrieved from the plugin repository URL, e.g. ScalapluginIdis1347. (pluginXmlIdcan be used instead, too.)pluginXmlIdis a unique identifier of the plugin specified as<id>inplugin.xml. It can be found as aPlugin XML IDparameter on the right of the plugin's individual update page and in theplugin.xml. (pluginIdcan be used instead, too.)channelis a release channel the update is published to (empty channel means defaultStablechannel) (optional)isHiddenis an option to make this update hidden to prevent public release after approval (e.g.-F isHidden=true).
POST
Using pluginId
Provide file as file contents. Curl command template:
Curl command example:
Using pluginXmlId
Provide file as file contents. Curl command template:
Curl command example:
.NET
You can upload the plugins for .NET using push command of the NuGet CLI.
Push command template:
Push command example:
Configuration
Configuration for NuGet is located in %AppData%\NuGet\NuGet.Config (Windows), ~/.config/NuGet/NuGet.Config or ~/.nuget/NuGet/NuGet.Config (Mac/Linux).
You can modify this file using the NuGet CLI commands.
For example, you can set a key for a source and add plugins site to the default push source:
In addition to the fact that you can change NuGet's default configuration, you can apply your own configuration file using ConfigFile option in push command.
For example:
To obtain more information about the NuGet configuration, see this page.