Skip to content

Commit

Permalink
feat: remove broken root api path
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsarr[bot] committed Jan 19, 2025
1 parent 1f380f9 commit c72b6e1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 186 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ Class | Method | HTTP request | Description
*RootFolderAPI* | [**ListRootFolder**](docs/RootFolderAPI.md#listrootfolder) | **Get** /api/v1/rootfolder |
*RootFolderAPI* | [**UpdateRootFolder**](docs/RootFolderAPI.md#updaterootfolder) | **Put** /api/v1/rootfolder/{id} |
*SearchAPI* | [**GetSearch**](docs/SearchAPI.md#getsearch) | **Get** /api/v1/search |
*StaticResourceAPI* | [**Get**](docs/StaticResourceAPI.md#get) | **Get** / |
*StaticResourceAPI* | [**GetByPath**](docs/StaticResourceAPI.md#getbypath) | **Get** /{path} |
*StaticResourceAPI* | [**GetContentByPath**](docs/StaticResourceAPI.md#getcontentbypath) | **Get** /content/{path} |
*StaticResourceAPI* | [**GetLogin**](docs/StaticResourceAPI.md#getlogin) | **Get** /login |
Expand Down
67 changes: 0 additions & 67 deletions docs/StaticResourceAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,79 +4,12 @@ All URIs are relative to *http://localhost:8686*

Method | HTTP request | Description
------------- | ------------- | -------------
[**Get**](StaticResourceAPI.md#Get) | **Get** / |
[**GetByPath**](StaticResourceAPI.md#GetByPath) | **Get** /{path} |
[**GetContentByPath**](StaticResourceAPI.md#GetContentByPath) | **Get** /content/{path} |
[**GetLogin**](StaticResourceAPI.md#GetLogin) | **Get** /login |



## Get

> Get(ctx, path).Execute()


### Example

```go
package main

import (
"context"
"fmt"
"os"
lidarrClient "github.com/devopsarr/lidarr-go/lidarr"
)

func main() {
path := "path_example" // string |

configuration := lidarrClient.NewConfiguration()
apiClient := lidarrClient.NewAPIClient(configuration)
r, err := apiClient.StaticResourceAPI.Get(context.Background(), path).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceAPI.Get``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

### Path Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**path** | **string** | |

### Other Parameters

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


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------


### Return type

(empty response body)

### Authorization

[apikey](../README.md#apikey), [X-Api-Key](../README.md#X-Api-Key)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)


## GetByPath

> GetByPath(ctx, path).Execute()
Expand Down
118 changes: 0 additions & 118 deletions lidarr/api_static_resource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c72b6e1

Please sign in to comment.