All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
GetPlugins | Get /plugins | Get a list of loaded plugins |
PluginCollection GetPlugins(ctx).Limit(limit).Offset(offset).Execute()
Get a list of loaded plugins
package main import ( "context" "fmt" "os" openapiclient "./openapi" ) func main() { limit := int32(56) // int32 | The numbers of items to return. (optional) (default to 100) offset := int32(56) // int32 | The number of items to skip before starting to collect the result set. (optional) configuration := openapiclient.NewConfiguration() api_client := openapiclient.NewAPIClient(configuration) resp, r, err := api_client.PluginApi.GetPlugins(context.Background()).Limit(limit).Offset(offset).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `PluginApi.GetPlugins``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetPlugins`: PluginCollection fmt.Fprintf(os.Stdout, "Response from `PluginApi.GetPlugins`: %v\n", resp) }
Other parameters are passed through a pointer to a apiGetPluginsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
limit | int32 | The numbers of items to return. | [default to 100] |
offset | int32 | The number of items to skip before starting to collect the result set. |
[Back to top] [Back to API list] [Back to Model list] [Back to README]