Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 2.38 KB

File metadata and controls

79 lines (52 loc) · 2.38 KB

\InternalUIAPIPermissionsAPI

All URIs are relative to /service/rest

Method HTTP request Description
ListInternalUiApiPermissions Get /internal/ui/api/permissions List REST endpoints with permission metadata for the API documentation UI

ListInternalUiApiPermissions

ApiPermissionsResponse ListInternalUiApiPermissions(ctx).Method(method).Path(path).Permission(permission).Tag(tag).Execute()

List REST endpoints with permission metadata for the API documentation UI

Example

package main

import (
	"context"
	"fmt"
	"os"
	sonatyperepo "github.com/sonatype-nexus-community/nexus-repo-api-client-go/v395"
)

func main() {
	method := "method_example" // string |  (optional)
	path := "path_example" // string |  (optional)
	permission := "permission_example" // string |  (optional)
	tag := "tag_example" // string |  (optional)

	configuration := sonatyperepo.NewConfiguration()
	apiClient := sonatyperepo.NewAPIClient(configuration)
	resp, r, err := apiClient.InternalUIAPIPermissionsAPI.ListInternalUiApiPermissions(context.Background()).Method(method).Path(path).Permission(permission).Tag(tag).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `InternalUIAPIPermissionsAPI.ListInternalUiApiPermissions``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListInternalUiApiPermissions`: ApiPermissionsResponse
	fmt.Fprintf(os.Stdout, "Response from `InternalUIAPIPermissionsAPI.ListInternalUiApiPermissions`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiListInternalUiApiPermissionsRequest struct via the builder pattern

Name Type Description Notes
method string
path string
permission string
tag string

Return type

ApiPermissionsResponse

Authorization

BasicAuth

HTTP request headers

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

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