IdeServicesPluginRepositoryService

interface IdeServicesPluginRepositoryService : PluginRepositoryService

Functions

Link copied to clipboard
@DELETE(value = "/api/updates/{id}")
abstract fun deleteUpdateById(@Path(value = "id") id: Int): Call<UpdateDeleteBean>
Link copied to clipboard
@Streaming
@GET(value = "/plugin/download")
abstract fun download(@Query(value = "updateId") updateId: Int): Call<ResponseBody>
@Streaming
@GET(value = "/plugin/download")
abstract fun download(@Query(value = "pluginId") pluginId: String, @Query(value = "version") version: String, @Query(value = "channel") channel: String?): Call<ResponseBody>
Link copied to clipboard
@Streaming
@GET(value = "/pluginManager?action=download")
abstract fun downloadCompatiblePlugin(@Query(value = "id") pluginId: String, @Query(value = "build") ideBuild: String, @Query(value = "channel") channel: String?, @Query(value = "os") os: String?, @Query(value = "arch") arch: String?): Call<ResponseBody>
Link copied to clipboard
@GET(value = "/api/users/me/vendor")
abstract fun getCurrentUserVendor(): Call<PluginVendorBean>
Link copied to clipboard
@GET(value = "/files/{pluginId}/{updateId}/meta.json")
abstract fun getIntelliJUpdateMeta(@Path(value = "pluginId") pluginId: Int, @Path(value = "updateId") updateId: Int): Call<IntellijUpdateMetadata>
Link copied to clipboard
@GET(value = "/api/plugins/{id}")
abstract fun getPluginById(@Path(value = "id") id: Int): Call<PluginBean>
Link copied to clipboard
@GET(value = "/api/plugins")
abstract fun getPluginByXmlId(@Query(value = "family") family: String, @Query(value = "xmlId") pluginXmlId: String): Call<PluginBean>
Link copied to clipboard
@GET(value = "/api/plugins/{id}/channels")
abstract fun getPluginChannels(@Path(value = "id") id: Int): Call<List<String>>
Link copied to clipboard
@GET(value = "/api/plugins/{id}/compatible-products")
abstract fun getPluginCompatibleProducts(@Path(value = "id") id: Int): Call<List<ProductEnum>>
Link copied to clipboard
@GET(value = "/api/plugins/{id}/developers")
abstract fun getPluginDevelopers(@Path(value = "id") id: Int): Call<List<PluginUserBean>>
Link copied to clipboard
@GET(value = "/files/pluginsXMLIds.json")
abstract fun getPluginsXmlIds(): Call<List<String>>
Link copied to clipboard
@GET(value = "/api/plugins/{id}/updateVersions")
abstract fun getPluginVersions(@Path(value = "id") id: Int): Call<List<PluginUpdateVersion>>
Link copied to clipboard
@GET(value = "/api/plugins")
abstract fun getPluginXmlIdByDependency(@Query(value = "dependency") dependency: String, @Query(value = "includeOptional") includeOptional: Boolean): Call<List<String>>
Link copied to clipboard
@GET(value = "/api/updates/{id}")
abstract fun getUpdateById(@Path(value = "id") id: Int): Call<PluginUpdateBean>
Link copied to clipboard
@GET(value = "/api/plugins/updates")
abstract fun getUpdatesByVersionAndFamily(@Query(value = "xmlId") xmlId: String, @Query(value = "version") version: String, @Query(value = "family") family: String): Call<List<PluginUpdateBean>>
Link copied to clipboard
@GET(value = "/api/vendors/{name}")
abstract fun getVendorByName(@Path(value = "name") name: String): Call<PluginVendorBean>
Link copied to clipboard
@GET(value = "/plugins/list/")
abstract fun listPlugins(@Query(value = "build") ideBuild: String, @Query(value = "channel") channel: String?, @Query(value = "pluginId") pluginId: String?): Call<XmlPluginRepositoryBean>
Link copied to clipboard
@GET(value = "/api/search/plugins")
abstract fun searchCompatiblePlugins(@Query(value = "search") query: String, @Query(value = "build") build: String, @Query(value = "tags") tags: List<String>, @Query(value = "author") author: String?, @Query(value = "organization") organizations: List<String>, @Query(value = "pricingModels") pricingModels: List<String>, @Query(value = "should_have_source") opensourceOnly: Boolean?, @Query(value = "is_featured_search") featuredOnly: Boolean?, @Query(value = "os") os: String?, @Query(value = "arch") arch: String?, @Query(value = "orderBy") orderBy: String?, @Query(value = "max") max: Int, @Query(value = "offset") offset: Int): Call<List<LightPluginNodeBean>>
Link copied to clipboard
@POST(value = "/api/search/compatibleUpdates")
@Headers(value = ["Content-Type: application/json"])
abstract fun searchLastCompatibleUpdate(@Body body: CompatibleUpdateRequest): Call<List<UpdateBean>>
Link copied to clipboard
@GET(value = "/api/search")
abstract fun searchPluginsXmlIds(@Query(value = "build") build: String, @Query(value = "max") max: Int, @Query(value = "offset") offset: Int, @Query(value = "search") query: String): Call<List<String>>
Link copied to clipboard
@GET(value = "/api/search/updates")
abstract fun searchUpdates(@Query(value = "build") build: String, @Query(value = "pluginXMLId") stringPluginId: StringPluginId): Call<List<UpdateBean>>
Link copied to clipboard
@POST(value = "/api/plugins/{id}/edit")
abstract fun setUrls(@Path(value = "id") id: Int, @Body form: PluginUrlsForm): Call<ResponseBody>
Link copied to clipboard
@Multipart
@POST(value = "/api/plugins")
abstract override fun uploadById(@Part(value = "pluginId") pluginId: Int, @Part(value = "channel") channel: RequestBody?, @Part(value = "notes") notes: RequestBody?, @Part(value = "isHidden") isHidden: Boolean, @Part file: MultipartBody.Part): Call<PluginUpdateBean>
Link copied to clipboard
@Multipart
@POST(value = "/api/plugins")
abstract override fun uploadByStringIdAndFamily(@Part(value = "xmlId") pluginXmlId: RequestBody, @Part(value = "family") family: RequestBody, @Part(value = "channel") channel: RequestBody?, @Part(value = "notes") notes: RequestBody?, @Part(value = "isHidden") isHidden: Boolean, @Part file: MultipartBody.Part): Call<PluginUpdateBean>
Link copied to clipboard
@Multipart
@POST(value = "/api/plugins/{family}/upload")
abstract fun uploadNewPlugin(@Part file: MultipartBody.Part, @Path(value = "family") family: String, @Part(value = "licenseUrl") licenseUrl: RequestBody, @Part(value = "tags") tags: ArrayList<RequestBody>, @Part(value = "vendor") vendor: RequestBody?, @Part(value = "channel") channel: RequestBody?, @Part(value = "isHidden") isHidden: Boolean): Call<PluginBean>