All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
CreateAutoTagging | Post /api/v3/autotagging | |
DeleteAutoTagging | Delete /api/v3/autotagging/{id} | |
GetAutoTaggingById | Get /api/v3/autotagging/{id} | |
GetAutoTaggingSchema | Get /api/v3/autotagging/schema | |
ListAutoTagging | Get /api/v3/autotagging | |
UpdateAutoTagging | Put /api/v3/autotagging/{id} |
AutoTaggingResource CreateAutoTagging(ctx).AutoTaggingResource(autoTaggingResource).Execute()
package main
import (
"context"
"fmt"
"os"
whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)
func main() {
autoTaggingResource := *whisparrClient.NewAutoTaggingResource() // AutoTaggingResource | (optional)
configuration := whisparrClient.NewConfiguration()
apiClient := whisparrClient.NewAPIClient(configuration)
resp, r, err := apiClient.AutoTaggingAPI.CreateAutoTagging(context.Background()).AutoTaggingResource(autoTaggingResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.CreateAutoTagging``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateAutoTagging`: AutoTaggingResource
fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.CreateAutoTagging`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateAutoTaggingRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
autoTaggingResource | AutoTaggingResource |
- Content-Type: application/json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteAutoTagging(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)
func main() {
id := int32(56) // int32 |
configuration := whisparrClient.NewConfiguration()
apiClient := whisparrClient.NewAPIClient(configuration)
r, err := apiClient.AutoTaggingAPI.DeleteAutoTagging(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.DeleteAutoTagging``: %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 apiDeleteAutoTaggingRequest 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]
AutoTaggingResource GetAutoTaggingById(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)
func main() {
id := int32(56) // int32 |
configuration := whisparrClient.NewConfiguration()
apiClient := whisparrClient.NewAPIClient(configuration)
resp, r, err := apiClient.AutoTaggingAPI.GetAutoTaggingById(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.GetAutoTaggingById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetAutoTaggingById`: AutoTaggingResource
fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.GetAutoTaggingById`: %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 apiGetAutoTaggingByIdRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- 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]
GetAutoTaggingSchema(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)
func main() {
configuration := whisparrClient.NewConfiguration()
apiClient := whisparrClient.NewAPIClient(configuration)
r, err := apiClient.AutoTaggingAPI.GetAutoTaggingSchema(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.GetAutoTaggingSchema``: %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 apiGetAutoTaggingSchemaRequest 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]
[]AutoTaggingResource ListAutoTagging(ctx).Execute()
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.AutoTaggingAPI.ListAutoTagging(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.ListAutoTagging``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListAutoTagging`: []AutoTaggingResource
fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.ListAutoTagging`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListAutoTaggingRequest 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]
AutoTaggingResource UpdateAutoTagging(ctx, id).AutoTaggingResource(autoTaggingResource).Execute()
package main
import (
"context"
"fmt"
"os"
whisparrClient "github.com/devopsarr/whisparr-go/whisparr"
)
func main() {
id := "id_example" // string |
autoTaggingResource := *whisparrClient.NewAutoTaggingResource() // AutoTaggingResource | (optional)
configuration := whisparrClient.NewConfiguration()
apiClient := whisparrClient.NewAPIClient(configuration)
resp, r, err := apiClient.AutoTaggingAPI.UpdateAutoTagging(context.Background(), id).AutoTaggingResource(autoTaggingResource).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AutoTaggingAPI.UpdateAutoTagging``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateAutoTagging`: AutoTaggingResource
fmt.Fprintf(os.Stdout, "Response from `AutoTaggingAPI.UpdateAutoTagging`: %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 apiUpdateAutoTaggingRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
autoTaggingResource | AutoTaggingResource | |
- Content-Type: application/json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]