All URIs are relative to http://localhost:5055/api/v1
| Method | HTTP request | Description |
|---|---|---|
| CreateIssue | Post /issue | Create new issue |
| CreateIssueByStatus | Post /issue/{issueId}/{status} | Update an issue's status |
| CreateIssueComment | Post /issue/{issueId}/comment | Create a comment |
| DeleteIssue | Delete /issue/{issueId} | Delete issue |
| DeleteIssueComment | Delete /issueComment/{commentId} | Delete issue comment |
| GetIssue | Get /issue | Get all issues |
| GetIssueByIssueId | Get /issue/{issueId} | Get issue |
| GetIssueCommentByCommentId | Get /issueComment/{commentId} | Get issue comment |
| GetIssueCount | Get /issue/count | Gets issue counts |
| UpdateIssueComment | Put /issueComment/{commentId} | Update issue comment |
Issue CreateIssue(ctx).CreateIssueRequest(createIssueRequest).Execute()
Create new issue
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
createIssueRequest := *overseerrClient.NewCreateIssueRequest() // CreateIssueRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.CreateIssue(context.Background()).CreateIssueRequest(createIssueRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.CreateIssue``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateIssue`: Issue
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.CreateIssue`: %v\n", resp)
}Other parameters are passed through a pointer to a apiCreateIssueRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| createIssueRequest | CreateIssueRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Issue CreateIssueByStatus(ctx, issueId, status).Execute()
Update an issue's status
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
issueId := "1" // string | Issue ID
status := "status_example" // string | New status
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.CreateIssueByStatus(context.Background(), issueId, status).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.CreateIssueByStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateIssueByStatus`: Issue
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.CreateIssueByStatus`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| issueId | string | Issue ID | |
| status | string | New status |
Other parameters are passed through a pointer to a apiCreateIssueByStatusRequest 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]
Issue CreateIssueComment(ctx, issueId).CreateIssueCommentRequest(createIssueCommentRequest).Execute()
Create a comment
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
issueId := float32(1) // float32 |
createIssueCommentRequest := *overseerrClient.NewCreateIssueCommentRequest("Message_example") // CreateIssueCommentRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.CreateIssueComment(context.Background(), issueId).CreateIssueCommentRequest(createIssueCommentRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.CreateIssueComment``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateIssueComment`: Issue
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.CreateIssueComment`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| issueId | float32 |
Other parameters are passed through a pointer to a apiCreateIssueCommentRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
createIssueCommentRequest | CreateIssueCommentRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteIssue(ctx, issueId).Execute()
Delete issue
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
issueId := "1" // string | Issue ID
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.IssueAPI.DeleteIssue(context.Background(), issueId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.DeleteIssue``: %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. | |
| issueId | string | Issue ID |
Other parameters are passed through a pointer to a apiDeleteIssueRequest 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]
DeleteIssueComment(ctx, commentId).Execute()
Delete issue comment
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
commentId := "1" // string | Issue Comment ID
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
r, err := apiClient.IssueAPI.DeleteIssueComment(context.Background(), commentId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.DeleteIssueComment``: %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. | |
| commentId | string | Issue Comment ID |
Other parameters are passed through a pointer to a apiDeleteIssueCommentRequest 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]
GetIssue2XXResponse GetIssue(ctx).Take(take).Skip(skip).Sort(sort).Filter(filter).RequestedBy(requestedBy).Execute()
Get all issues
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
take := float32(20) // float32 | (optional)
skip := float32(0) // float32 | (optional)
sort := "sort_example" // string | (optional) (default to "added")
filter := "filter_example" // string | (optional) (default to "open")
requestedBy := float32(1) // float32 | (optional)
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.GetIssue(context.Background()).Take(take).Skip(skip).Sort(sort).Filter(filter).RequestedBy(requestedBy).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.GetIssue``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetIssue`: GetIssue2XXResponse
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.GetIssue`: %v\n", resp)
}Other parameters are passed through a pointer to a apiGetIssueRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| take | float32 | ||
| skip | float32 | ||
| sort | string | [default to "added"] | |
| filter | string | [default to "open"] | |
| requestedBy | float32 |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Issue GetIssueByIssueId(ctx, issueId).Execute()
Get issue
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
issueId := float32(1) // float32 |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.GetIssueByIssueId(context.Background(), issueId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.GetIssueByIssueId``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetIssueByIssueId`: Issue
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.GetIssueByIssueId`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| issueId | float32 |
Other parameters are passed through a pointer to a apiGetIssueByIssueIdRequest 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]
IssueComment GetIssueCommentByCommentId(ctx, commentId).Execute()
Get issue comment
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
commentId := "1" // string |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.GetIssueCommentByCommentId(context.Background(), commentId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.GetIssueCommentByCommentId``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetIssueCommentByCommentId`: IssueComment
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.GetIssueCommentByCommentId`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| commentId | string |
Other parameters are passed through a pointer to a apiGetIssueCommentByCommentIdRequest 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]
GetIssueCount2XXResponse GetIssueCount(ctx).Execute()
Gets issue counts
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.GetIssueCount(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.GetIssueCount``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetIssueCount`: GetIssueCount2XXResponse
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.GetIssueCount`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetIssueCountRequest 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]
IssueComment UpdateIssueComment(ctx, commentId).UpdateIssueCommentRequest(updateIssueCommentRequest).Execute()
Update issue comment
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
commentId := "1" // string |
updateIssueCommentRequest := *overseerrClient.NewUpdateIssueCommentRequest() // UpdateIssueCommentRequest |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.IssueAPI.UpdateIssueComment(context.Background(), commentId).UpdateIssueCommentRequest(updateIssueCommentRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IssueAPI.UpdateIssueComment``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateIssueComment`: IssueComment
fmt.Fprintf(os.Stdout, "Response from `IssueAPI.UpdateIssueComment`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| commentId | string |
Other parameters are passed through a pointer to a apiUpdateIssueCommentRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
updateIssueCommentRequest | UpdateIssueCommentRequest | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]