Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.73 KB

File metadata and controls

68 lines (42 loc) · 1.73 KB

\MetadataProfileSchemaAPI

All URIs are relative to http://localhost:8686

Method HTTP request Description
GetMetadataprofileSchema Get /api/v1/metadataprofile/schema

GetMetadataprofileSchema

MetadataProfileResource GetMetadataprofileSchema(ctx).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	lidarrClient "github.com/devopsarr/lidarr-go/lidarr"
)

func main() {

	configuration := lidarrClient.NewConfiguration()
	apiClient := lidarrClient.NewAPIClient(configuration)
	resp, r, err := apiClient.MetadataProfileSchemaAPI.GetMetadataprofileSchema(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileSchemaAPI.GetMetadataprofileSchema``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GetMetadataprofileSchema`: MetadataProfileResource
	fmt.Fprintf(os.Stdout, "Response from `MetadataProfileSchemaAPI.GetMetadataprofileSchema`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

MetadataProfileResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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