All URIs are relative to http://localhost:9696
| Method | HTTP request | Description |
|---|---|---|
| CreateApplications | Post /api/v1/applications | |
| CreateApplicationsActionByName | Post /api/v1/applications/action/{name} | |
| DeleteApplications | Delete /api/v1/applications/{id} | |
| DeleteApplicationsBulk | Delete /api/v1/applications/bulk | |
| GetApplicationsById | Get /api/v1/applications/{id} | |
| ListApplications | Get /api/v1/applications | |
| ListApplicationsSchema | Get /api/v1/applications/schema | |
| PutApplicationsBulk | Put /api/v1/applications/bulk | |
| TestApplications | Post /api/v1/applications/test | |
| TestallApplications | Post /api/v1/applications/testall | |
| UpdateApplications | Put /api/v1/applications/{id} |
ApplicationResource CreateApplications(ctx).ForceSave(forceSave).ApplicationResource(applicationResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
forceSave := true // bool | (optional) (default to false)
applicationResource := *prowlarrClient.NewApplicationResource() // ApplicationResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationAPI.CreateApplications(context.Background()).ForceSave(forceSave).ApplicationResource(applicationResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.CreateApplications``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateApplications`: ApplicationResource
fmt.Fprintf(os.Stdout, "Response from `ApplicationAPI.CreateApplications`: %v\n", resp)
}Other parameters are passed through a pointer to a apiCreateApplicationsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| forceSave | bool | [default to false] | |
| applicationResource | ApplicationResource |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateApplicationsActionByName(ctx, name).ApplicationResource(applicationResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
name := "name_example" // string |
applicationResource := *prowlarrClient.NewApplicationResource() // ApplicationResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
r, err := apiClient.ApplicationAPI.CreateApplicationsActionByName(context.Background(), name).ApplicationResource(applicationResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.CreateApplicationsActionByName``: %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 apiCreateApplicationsActionByNameRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
applicationResource | ApplicationResource | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteApplications(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.ApplicationAPI.DeleteApplications(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.DeleteApplications``: %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 apiDeleteApplicationsRequest 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]
DeleteApplicationsBulk(ctx).ApplicationBulkResource(applicationBulkResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
applicationBulkResource := *prowlarrClient.NewApplicationBulkResource() // ApplicationBulkResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
r, err := apiClient.ApplicationAPI.DeleteApplicationsBulk(context.Background()).ApplicationBulkResource(applicationBulkResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.DeleteApplicationsBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiDeleteApplicationsBulkRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| applicationBulkResource | ApplicationBulkResource |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApplicationResource GetApplicationsById(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.ApplicationAPI.GetApplicationsById(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.GetApplicationsById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetApplicationsById`: ApplicationResource
fmt.Fprintf(os.Stdout, "Response from `ApplicationAPI.GetApplicationsById`: %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 apiGetApplicationsByIdRequest 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]
[]ApplicationResource ListApplications(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.ApplicationAPI.ListApplications(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.ListApplications``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListApplications`: []ApplicationResource
fmt.Fprintf(os.Stdout, "Response from `ApplicationAPI.ListApplications`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListApplicationsRequest 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]
[]ApplicationResource ListApplicationsSchema(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.ApplicationAPI.ListApplicationsSchema(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.ListApplicationsSchema``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListApplicationsSchema`: []ApplicationResource
fmt.Fprintf(os.Stdout, "Response from `ApplicationAPI.ListApplicationsSchema`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListApplicationsSchemaRequest 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]
ApplicationResource PutApplicationsBulk(ctx).ApplicationBulkResource(applicationBulkResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
applicationBulkResource := *prowlarrClient.NewApplicationBulkResource() // ApplicationBulkResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationAPI.PutApplicationsBulk(context.Background()).ApplicationBulkResource(applicationBulkResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.PutApplicationsBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PutApplicationsBulk`: ApplicationResource
fmt.Fprintf(os.Stdout, "Response from `ApplicationAPI.PutApplicationsBulk`: %v\n", resp)
}Other parameters are passed through a pointer to a apiPutApplicationsBulkRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| applicationBulkResource | ApplicationBulkResource |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestApplications(ctx).ForceTest(forceTest).ApplicationResource(applicationResource).Execute()
package main
import (
"context"
"fmt"
"os"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)
func main() {
forceTest := true // bool | (optional) (default to false)
applicationResource := *prowlarrClient.NewApplicationResource() // ApplicationResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
r, err := apiClient.ApplicationAPI.TestApplications(context.Background()).ForceTest(forceTest).ApplicationResource(applicationResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.TestApplications``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiTestApplicationsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| forceTest | bool | [default to false] | |
| applicationResource | ApplicationResource |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TestallApplications(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.ApplicationAPI.TestallApplications(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.TestallApplications``: %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 apiTestallApplicationsRequest 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]
ApplicationResource UpdateApplications(ctx, id).ForceSave(forceSave).ApplicationResource(applicationResource).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)
applicationResource := *prowlarrClient.NewApplicationResource() // ApplicationResource | (optional)
configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationAPI.UpdateApplications(context.Background(), id).ForceSave(forceSave).ApplicationResource(applicationResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationAPI.UpdateApplications``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateApplications`: ApplicationResource
fmt.Fprintf(os.Stdout, "Response from `ApplicationAPI.UpdateApplications`: %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 apiUpdateApplicationsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
forceSave | bool | | [default to false] applicationResource | ApplicationResource | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]