All URIs are relative to http://localhost:9696
| Method | HTTP request | Description |
|---|---|---|
| CreateIndexerProxy | Post /api/v1/indexerproxy | |
| CreateIndexerProxyActionByName | Post /api/v1/indexerproxy/action/{name} | |
| DeleteIndexerProxy | Delete /api/v1/indexerproxy/{id} | |
| GetIndexerProxyById | Get /api/v1/indexerproxy/{id} | |
| ListIndexerProxy | Get /api/v1/indexerproxy | |
| ListIndexerProxySchema | Get /api/v1/indexerproxy/schema | |
| TestIndexerProxy | Post /api/v1/indexerproxy/test | |
| TestallIndexerProxy | Post /api/v1/indexerproxy/testall | |
| UpdateIndexerProxy | Put /api/v1/indexerproxy/{id} |
IndexerProxyResource CreateIndexerProxy(ctx).ForceSave(forceSave).IndexerProxyResource(indexerProxyResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
forceSave := true // bool | (optional) (default to false)
indexerProxyResource := *prowlarrClient.NewIndexerProxyResource() // IndexerProxyResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IndexerProxyAPI.CreateIndexerProxy(context.Background()).ForceSave(forceSave).IndexerProxyResource(indexerProxyResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.CreateIndexerProxy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateIndexerProxy`: IndexerProxyResource
fmt.Fprintf(os.Stdout, "Response from `IndexerProxyAPI.CreateIndexerProxy`: %v\n", resp)
}Other parameters are passed through a pointer to a apiCreateIndexerProxyRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| forceSave | bool | [default to false] | |
| indexerProxyResource | IndexerProxyResource |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateIndexerProxyActionByName(ctx, name).IndexerProxyResource(indexerProxyResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
name := "name_example" // string |
indexerProxyResource := *prowlarrClient.NewIndexerProxyResource() // IndexerProxyResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
r, err := apiClient.IndexerProxyAPI.CreateIndexerProxyActionByName(context.Background(), name).IndexerProxyResource(indexerProxyResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.CreateIndexerProxyActionByName``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| name | string |
Other parameters are passed through a pointer to a apiCreateIndexerProxyActionByNameRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
indexerProxyResource | IndexerProxyResource | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteIndexerProxy(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
id := int32(56) // int32 |
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
r, err := apiClient.IndexerProxyAPI.DeleteIndexerProxy(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.DeleteIndexerProxy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 |
Other parameters are passed through a pointer to a apiDeleteIndexerProxyRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IndexerProxyResource GetIndexerProxyById(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
id := int32(56) // int32 |
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IndexerProxyAPI.GetIndexerProxyById(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.GetIndexerProxyById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetIndexerProxyById`: IndexerProxyResource
fmt.Fprintf(os.Stdout, "Response from `IndexerProxyAPI.GetIndexerProxyById`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 |
Other parameters are passed through a pointer to a apiGetIndexerProxyByIdRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]IndexerProxyResource ListIndexerProxy(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IndexerProxyAPI.ListIndexerProxy(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.ListIndexerProxy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListIndexerProxy`: []IndexerProxyResource
fmt.Fprintf(os.Stdout, "Response from `IndexerProxyAPI.ListIndexerProxy`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListIndexerProxyRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]IndexerProxyResource ListIndexerProxySchema(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IndexerProxyAPI.ListIndexerProxySchema(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.ListIndexerProxySchema``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListIndexerProxySchema`: []IndexerProxyResource
fmt.Fprintf(os.Stdout, "Response from `IndexerProxyAPI.ListIndexerProxySchema`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListIndexerProxySchemaRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestIndexerProxy(ctx).ForceTest(forceTest).IndexerProxyResource(indexerProxyResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
forceTest := true // bool | (optional) (default to false)
indexerProxyResource := *prowlarrClient.NewIndexerProxyResource() // IndexerProxyResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
r, err := apiClient.IndexerProxyAPI.TestIndexerProxy(context.Background()).ForceTest(forceTest).IndexerProxyResource(indexerProxyResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.TestIndexerProxy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiTestIndexerProxyRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| forceTest | bool | [default to false] | |
| indexerProxyResource | IndexerProxyResource |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestallIndexerProxy(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
r, err := apiClient.IndexerProxyAPI.TestallIndexerProxy(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.TestallIndexerProxy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiTestallIndexerProxyRequest struct via the builder pattern
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IndexerProxyResource UpdateIndexerProxy(ctx, id).ForceSave(forceSave).IndexerProxyResource(indexerProxyResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
id := "id_example" // string |
forceSave := true // bool | (optional) (default to false)
indexerProxyResource := *prowlarrClient.NewIndexerProxyResource() // IndexerProxyResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IndexerProxyAPI.UpdateIndexerProxy(context.Background(), id).ForceSave(forceSave).IndexerProxyResource(indexerProxyResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IndexerProxyAPI.UpdateIndexerProxy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateIndexerProxy`: IndexerProxyResource
fmt.Fprintf(os.Stdout, "Response from `IndexerProxyAPI.UpdateIndexerProxy`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | string |
Other parameters are passed through a pointer to a apiUpdateIndexerProxyRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
forceSave | bool | | [default to false] indexerProxyResource | IndexerProxyResource | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]