From f75a077d5c3a9cbaf13a1018f9f1f4bb39b26e5a Mon Sep 17 00:00:00 2001 From: Nick Evans Date: Mon, 4 Nov 2024 11:19:11 +0100 Subject: [PATCH] Migrating from POST /api/ij-plugins/upload to POST /api/plugins endpoint for uploading plugins to IDE Services --- .../gradle/utils/IdeServicesPluginRepositoryService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/jetbrains/intellij/platform/gradle/utils/IdeServicesPluginRepositoryService.kt b/src/main/kotlin/org/jetbrains/intellij/platform/gradle/utils/IdeServicesPluginRepositoryService.kt index c6129aadfc..660f86da30 100644 --- a/src/main/kotlin/org/jetbrains/intellij/platform/gradle/utils/IdeServicesPluginRepositoryService.kt +++ b/src/main/kotlin/org/jetbrains/intellij/platform/gradle/utils/IdeServicesPluginRepositoryService.kt @@ -14,7 +14,7 @@ import retrofit2.http.Part interface IdeServicesPluginRepositoryService : PluginRepositoryService { @Multipart - @POST("/api/ij-plugins/upload") + @POST("/api/plugins") override fun uploadById( @Part("pluginId") pluginId: Int, @Part("channel") channel: RequestBody?, @@ -24,7 +24,7 @@ interface IdeServicesPluginRepositoryService : PluginRepositoryService { ): Call @Multipart - @POST("/api/ij-plugins/upload") + @POST("/api/plugins") override fun uploadByStringId( @Part("xmlId") pluginXmlId: RequestBody, @Part("channel") channel: RequestBody?,