Skip to content

Commit

Permalink
Migrating from POST /api/ij-plugins/upload to POST /api/plugins endpo…
Browse files Browse the repository at this point in the history
…int for uploading plugins to IDE Services
  • Loading branch information
Nick Evans authored and hsz committed Nov 18, 2024
1 parent 674c869 commit f75a077
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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?,
Expand All @@ -24,7 +24,7 @@ interface IdeServicesPluginRepositoryService : PluginRepositoryService {
): Call<PluginUpdateBean>

@Multipart
@POST("/api/ij-plugins/upload")
@POST("/api/plugins")
override fun uploadByStringId(
@Part("xmlId") pluginXmlId: RequestBody,
@Part("channel") channel: RequestBody?,
Expand Down

0 comments on commit f75a077

Please sign in to comment.