Class ServerPluginsMarketplacesApi
java.lang.Object
com.github.copilot.generated.rpc.ServerPluginsMarketplacesApi
API methods for the
plugins.marketplaces namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionadd(PluginsMarketplacesAddParams params) Registers a new marketplace from a source (owner/repo, URL, or local path).Lists plugins advertised by a registered marketplace.list()Lists all registered marketplaces (defaults + user-added).refresh()Re-fetches one or all registered marketplace catalogs.Re-fetches one or all registered marketplace catalogs.Removes a previously-registered marketplace.
-
Method Details
-
list
Lists all registered marketplaces (defaults + user-added).- Since:
- 1.0.0
-
add
@CopilotExperimental public CompletableFuture<PluginsMarketplacesAddResult> add(PluginsMarketplacesAddParams params) Registers a new marketplace from a source (owner/repo, URL, or local path).- Since:
- 1.0.0
-
remove
@CopilotExperimental public CompletableFuture<PluginsMarketplacesRemoveResult> remove(PluginsMarketplacesRemoveParams params) Removes a previously-registered marketplace. When the marketplace has dependent plugins and `force` is not set, the marketplace is left intact and the result lists the dependents so the caller can decide whether to retry with `force=true`.- Since:
- 1.0.0
-
browse
@CopilotExperimental public CompletableFuture<PluginsMarketplacesBrowseResult> browse(PluginsMarketplacesBrowseParams params) Lists plugins advertised by a registered marketplace.- Since:
- 1.0.0
-
refresh
Re-fetches one or all registered marketplace catalogs.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
refresh
@CopilotExperimental public CompletableFuture<PluginsMarketplacesRefreshResult> refresh(PluginsMarketplacesRefreshParams params) Re-fetches one or all registered marketplace catalogs.- Since:
- 1.0.0
-