All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GetLicensedSolutions | Get /api/v2/solutions/licensed |
[]ApiLicensedSolutionDTO GetLicensedSolutions(ctx).AllowRelativeUrls(allowRelativeUrls).Execute()
package main
import (
"context"
"fmt"
"os"
sonatypeiq "github.com/sonatype-nexus-community/nexus-iq-api-client-go"
)
func main() {
allowRelativeUrls := true // bool | (optional) (default to false)
configuration := sonatypeiq.NewConfiguration()
apiClient := sonatypeiq.NewAPIClient(configuration)
resp, r, err := apiClient.SolutionsAPI.GetLicensedSolutions(context.Background()).AllowRelativeUrls(allowRelativeUrls).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SolutionsAPI.GetLicensedSolutions``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetLicensedSolutions`: []ApiLicensedSolutionDTO
fmt.Fprintf(os.Stdout, "Response from `SolutionsAPI.GetLicensedSolutions`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetLicensedSolutionsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
allowRelativeUrls | bool | [default to false] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]