All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
GetFileSystem | Get /api/v3/filesystem | |
GetFileSystemMediafiles | Get /api/v3/filesystem/mediafiles | |
GetFileSystemType | Get /api/v3/filesystem/type |
GetFileSystem(ctx).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
path := "path_example" // string | (optional)
includeFiles := true // bool | (optional) (default to false)
allowFoldersWithoutTrailingSlashes := true // bool | (optional) (default to false)
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
r, err := apiClient.FileSystemAPI.GetFileSystem(context.Background()).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FileSystemAPI.GetFileSystem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiGetFileSystemRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
path | string | ||
includeFiles | bool | [default to false] | |
allowFoldersWithoutTrailingSlashes | bool | [default to false] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetFileSystemMediafiles(ctx).Path(path).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
path := "path_example" // string | (optional)
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
r, err := apiClient.FileSystemAPI.GetFileSystemMediafiles(context.Background()).Path(path).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FileSystemAPI.GetFileSystemMediafiles``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiGetFileSystemMediafilesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
path | string |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetFileSystemType(ctx).Path(path).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
path := "path_example" // string | (optional)
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
r, err := apiClient.FileSystemAPI.GetFileSystemType(context.Background()).Path(path).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `FileSystemAPI.GetFileSystemType``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiGetFileSystemTypeRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
path | string |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]