mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 12:37:46 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8642a796e0 |
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@ generation:
|
||||
generateNewTests: false
|
||||
skipResponseBodyAssertions: false
|
||||
go:
|
||||
version: 0.26.0
|
||||
version: 0.26.1
|
||||
additionalDependencies: {}
|
||||
allowUnknownFieldsInWeakUnions: false
|
||||
baseErrorName: PlexAPIError
|
||||
|
||||
@@ -9,20 +9,20 @@ sources:
|
||||
- main
|
||||
plexapi:
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:bc60551015634fd59475cf17983ca3aedcab591426d526ab1e3634b1feedaec1
|
||||
sourceBlobDigest: sha256:fc8cd5343a94564b646830738f38e065d61e2ea63e4a1383ce07533586889950
|
||||
sourceRevisionDigest: sha256:0e9f7ca03e6a970d7b77654ab41d0a1605f0105871db2630a7afc85d4362b624
|
||||
sourceBlobDigest: sha256:c0a6079f21e9d8cf8b3a205d2da333b78b2cb7e0db9dd895a41c68c2580e2d64
|
||||
tags:
|
||||
- latest
|
||||
- speakeasy-sdk-regen-1760248355
|
||||
- speakeasy-sdk-regen-1760314262
|
||||
- 1.1.1
|
||||
targets:
|
||||
plexgo:
|
||||
source: plexapi
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:bc60551015634fd59475cf17983ca3aedcab591426d526ab1e3634b1feedaec1
|
||||
sourceBlobDigest: sha256:fc8cd5343a94564b646830738f38e065d61e2ea63e4a1383ce07533586889950
|
||||
sourceRevisionDigest: sha256:0e9f7ca03e6a970d7b77654ab41d0a1605f0105871db2630a7afc85d4362b624
|
||||
sourceBlobDigest: sha256:c0a6079f21e9d8cf8b3a205d2da333b78b2cb7e0db9dd895a41c68c2580e2d64
|
||||
codeSamplesNamespace: code-samples-go-plexgo
|
||||
codeSamplesRevisionDigest: sha256:661a20cdc0e343c05f51c94f3957daaf8a66fcae72913af90414116c8ae4d28c
|
||||
codeSamplesRevisionDigest: sha256:8db88ac0989f866606672aee950cbd308054218a71e5ca5bb6afd2dc37e09f11
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: latest
|
||||
|
||||
@@ -629,7 +629,7 @@ You can override the default server globally using the `WithServerIndex(serverIn
|
||||
| --- | ---------------------------------------------------------- | -------------------------------------------- | ----------- |
|
||||
| 0 | `https://{IP-description}.{identifier}.plex.direct:{port}` | `identifier`<br/>`IP-description`<br/>`port` | |
|
||||
| 1 | `{protocol}://{host}:{port}` | `protocol`<br/>`host`<br/>`port` | |
|
||||
| 2 | `https://{server_url}` | `server_url` | |
|
||||
| 2 | `https://{full_server_url}` | `server_url` | |
|
||||
|
||||
If the selected server has variables, you may override its default values using the associated option(s):
|
||||
|
||||
@@ -706,7 +706,7 @@ func main() {
|
||||
ctx := context.Background()
|
||||
|
||||
s := plexgo.New(
|
||||
plexgo.WithServerURL("https://http://localhost:32400"),
|
||||
plexgo.WithServerURL("https://{full_server_url}"),
|
||||
plexgo.WithAccepts(components.AcceptsApplicationXML),
|
||||
plexgo.WithClientIdentifier("abc123"),
|
||||
plexgo.WithProduct("Plex for Roku"),
|
||||
|
||||
10
RELEASES.md
10
RELEASES.md
@@ -1223,3 +1223,13 @@ Based on:
|
||||
- [go v0.26.0] .
|
||||
### Releases
|
||||
- [Go v0.26.0] https://github.com/LukeHagar/plexgo/releases/tag/v0.26.0 - .
|
||||
|
||||
## 2025-10-13 00:10:42
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [go v0.26.1] .
|
||||
### Releases
|
||||
- [Go v0.26.1] https://github.com/LukeHagar/plexgo/releases/tag/v0.26.1 - .
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
var ServerList = []string{
|
||||
"https://{IP-description}.{identifier}.plex.direct:{port}",
|
||||
"{protocol}://{host}:{port}",
|
||||
"https://{server_url}",
|
||||
"https://{full_server_url}",
|
||||
}
|
||||
|
||||
// HTTPClient provides an interface for supplying the SDK with a custom HTTP client
|
||||
@@ -392,9 +392,9 @@ func WithTimeout(timeout time.Duration) SDKOption {
|
||||
// New creates a new instance of the SDK with the provided options
|
||||
func New(opts ...SDKOption) *PlexAPI {
|
||||
sdk := &PlexAPI{
|
||||
SDKVersion: "0.26.0",
|
||||
SDKVersion: "0.26.1",
|
||||
sdkConfiguration: config.SDKConfiguration{
|
||||
UserAgent: "speakeasy-sdk/go 0.26.0 2.723.11 1.1.1 github.com/LukeHagar/plexgo",
|
||||
UserAgent: "speakeasy-sdk/go 0.26.1 2.723.11 1.1.1 github.com/LukeHagar/plexgo",
|
||||
Globals: globals.Globals{},
|
||||
ServerList: ServerList,
|
||||
ServerVariables: []map[string]string{
|
||||
|
||||
Reference in New Issue
Block a user