Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.6 KB

IndexerFlagAPI.md

File metadata and controls

68 lines (42 loc) · 1.6 KB

\IndexerFlagAPI

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

Method HTTP request Description
ListIndexerFlag Get /api/v3/indexerflag

ListIndexerFlag

[]IndexerFlagResource ListIndexerFlag(ctx).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)

func main() {

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

Path Parameters

This endpoint does not need any parameter.

Other Parameters

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

Return type

[]IndexerFlagResource

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]