Skip to content

Commit

Permalink
Merge pull request #61 from devopsarr/feature/code-generation
Browse files Browse the repository at this point in the history
feat: remove broken root api path
  • Loading branch information
devopsarr[bot] authored Jan 19, 2025
2 parents 136f8b4 + 13b104c commit cdb33c9
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 @@ -181,7 +181,6 @@ Class | Method | HTTP request | Description
*SearchAPI* | [**CreateSearch**](docs/SearchAPI.md#createsearch) | **Post** /api/v1/search |
*SearchAPI* | [**CreateSearchBulk**](docs/SearchAPI.md#createsearchbulk) | **Post** /api/v1/search/bulk |
*SearchAPI* | [**ListSearch**](docs/SearchAPI.md#listsearch) | **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:9696*

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"
prowlarrClient "github.com/devopsarr/prowlarr-go/prowlarr"
)

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

configuration := prowlarrClient.NewConfiguration()
apiClient := prowlarrClient.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 prowlarr/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 cdb33c9

Please sign in to comment.