Skip to content

Latest commit

 

History

History
96 lines (64 loc) · 2.76 KB

PluginApi.md

File metadata and controls

96 lines (64 loc) · 2.76 KB

\PluginApi

All URIs are relative to http://localhost/api/v1

Method HTTP request Description
GetPlugins Get /plugins Get a list of loaded plugins

GetPlugins

PluginCollection GetPlugins(ctx).Limit(limit).Offset(offset).Execute()

Get a list of loaded plugins

Example

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)
}

Path Parameters

Other Parameters

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.

Return type

PluginCollection

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]