Skip to content

Commit 5db0236

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.451.1
1 parent c4b2a03 commit 5db0236

File tree

181 files changed

+2777
-2210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+2777
-2210
lines changed

.speakeasy/gen.lock

Lines changed: 65 additions & 25 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ generation:
1111
requestResponseComponentNamesFeb2024: true
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
14+
oAuth2PasswordEnabled: false
1415
go:
15-
version: 0.4.0
16+
version: 0.4.1
1617
additionalDependencies: {}
1718
allowUnknownFieldsInWeakUnions: false
1819
clientServerStatusCodesAsErrors: true
20+
defaultErrorName: SDKError
1921
flattenGlobalSecurity: true
2022
imports:
2123
option: openapi

.speakeasy/workflow.lock

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
speakeasyVersion: 1.399.0
1+
speakeasyVersion: 1.451.1
22
sources:
33
livepeer-studio-api:
44
sourceNamespace: livepeer-studio-api
5-
sourceRevisionDigest: sha256:f3ea883f13fc67e60cb167af92c3e9be9ec4fea50eacd4130a1b51d7f1cd5102
6-
sourceBlobDigest: sha256:a6e21f46600c0ad7fc422459cc7392d99943317b4a24fd41190670ba78a55eb8
5+
sourceRevisionDigest: sha256:0166777009faaf9bb43cb49924e9c05413a1ad254d92212e947873a83c02ed04
6+
sourceBlobDigest: sha256:34f05da404b8cb67a833aca39b6c09d0fdfa7c7781122295f35d4fef72c6ef5c
77
tags:
88
- latest
9-
- main
9+
- speakeasy-sdk-regen-1731112098
10+
- 1.0.0
1011
targets:
1112
livepeer-go:
1213
source: livepeer-studio-api
1314
sourceNamespace: livepeer-studio-api
14-
sourceRevisionDigest: sha256:f3ea883f13fc67e60cb167af92c3e9be9ec4fea50eacd4130a1b51d7f1cd5102
15-
sourceBlobDigest: sha256:a6e21f46600c0ad7fc422459cc7392d99943317b4a24fd41190670ba78a55eb8
15+
sourceRevisionDigest: sha256:0166777009faaf9bb43cb49924e9c05413a1ad254d92212e947873a83c02ed04
16+
sourceBlobDigest: sha256:34f05da404b8cb67a833aca39b6c09d0fdfa7c7781122295f35d4fef72c6ef5c
17+
codeSamplesNamespace: livepeer-studio-api-go-code-samples
18+
codeSamplesRevisionDigest: sha256:491b823013208b27e521da304eadd5db5a43bfe1d32bd31b2ba8e520d70b8969
1619
workflow:
1720
workflowVersion: 1.0.0
1821
speakeasyVersion: latest
@@ -31,3 +34,5 @@ workflow:
3134
source: livepeer-studio-api
3235
codeSamples:
3336
output: codeSamples.yaml
37+
registry:
38+
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api-go-code-samples

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ targets:
1515
source: livepeer-studio-api
1616
codeSamples:
1717
output: codeSamples.yaml
18+
registry:
19+
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api-go-code-samples

README.md

Lines changed: 29 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ what they return.
1616

1717
<!-- Start Table of Contents [toc] -->
1818
## Table of Contents
19+
<!-- $toc-max-depth=2 -->
20+
* [Livepeer Go SDK](#livepeer-go-sdk)
21+
* [Documentation](#documentation)
22+
* [SDK Installation](#sdk-installation)
23+
* [SDK Example Usage](#sdk-example-usage)
24+
* [Available Resources and Operations](#available-resources-and-operations)
25+
* [Error Handling](#error-handling)
26+
* [Custom HTTP Client](#custom-http-client)
27+
* [Authentication](#authentication)
28+
* [Retries](#retries)
1929

20-
* [SDK Installation](#sdk-installation)
21-
* [SDK Example Usage](#sdk-example-usage)
22-
* [Available Resources and Operations](#available-resources-and-operations)
23-
* [Retries](#retries)
24-
* [Error Handling](#error-handling)
25-
* [Server Selection](#server-selection)
26-
* [Custom HTTP Client](#custom-http-client)
27-
* [Authentication](#authentication)
28-
* [Special Types](#special-types)
2930
<!-- End Table of Contents [toc] -->
3031

3132
<!-- Start SDK Installation [installation] -->
@@ -103,6 +104,7 @@ func main() {
103104
* [Upscale](docs/sdks/generate/README.md#upscale) - Upscale
104105
* [AudioToText](docs/sdks/generate/README.md#audiototext) - Audio To Text
105106
* [SegmentAnything2](docs/sdks/generate/README.md#segmentanything2) - Segment Anything 2
107+
* [Llm](docs/sdks/generate/README.md#llm) - LLM
106108

107109

108110
### [Metrics](docs/sdks/metrics/README.md)
@@ -184,12 +186,16 @@ func main() {
184186
<!-- Start Error Handling [errors] -->
185187
## Error Handling
186188

187-
Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both. When specified by the OpenAPI spec document, the SDK will return the appropriate subclass.
189+
Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both.
188190

189-
| Error Object | Status Code | Content Type |
190-
| ------------------ | ------------------ | ------------------ |
191-
| sdkerrors.Error | 404 | application/json |
192-
| sdkerrors.SDKError | 4xx-5xx | */* |
191+
By Default, an API error will return `sdkerrors.SDKError`. When custom error responses are specified for an operation, the SDK may also return their associated error. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation.
192+
193+
For example, the `Get` function may return the following errors:
194+
195+
| Error Type | Status Code | Content Type |
196+
| ------------------ | ----------- | ---------------- |
197+
| sdkerrors.Error | 404 | application/json |
198+
| sdkerrors.SDKError | 4XX, 5XX | \*/\* |
193199

194200
### Example
195201

@@ -268,9 +274,9 @@ This can be a convenient way to configure timeouts, cookies, proxies, custom hea
268274

269275
This SDK supports the following security scheme globally:
270276

271-
| Name | Type | Scheme |
272-
| ----------- | ----------- | ----------- |
273-
| `APIKey` | http | HTTP Bearer |
277+
| Name | Type | Scheme |
278+
| -------- | ---- | ----------- |
279+
| `APIKey` | http | HTTP Bearer |
274280

275281
You can configure it using the `WithSecurity` option when initializing the SDK client instance. For example:
276282
```go
@@ -342,13 +348,8 @@ func main() {
342348
Multistream: &components.Multistream{
343349
Targets: []components.Target{
344350
components.Target{
345-
Profile: "720p",
346-
VideoOnly: livepeergo.Bool(false),
347-
ID: livepeergo.String("PUSH123"),
348-
Spec: &components.TargetSpec{
349-
Name: livepeergo.String("My target"),
350-
URL: "rtmps://live.my-service.tv/channel/secretKey",
351-
},
351+
Profile: "720p0",
352+
ID: livepeergo.String("PUSH123"),
352353
},
353354
},
354355
},
@@ -364,12 +365,6 @@ func main() {
364365
```
365366
<!-- End Authentication [security] -->
366367

367-
<!-- Start Special Types [types] -->
368-
## Special Types
369-
370-
371-
<!-- End Special Types [types] -->
372-
373368
<!-- Start Retries [retries] -->
374369
## Retries
375370

@@ -447,13 +442,8 @@ func main() {
447442
Multistream: &components.Multistream{
448443
Targets: []components.Target{
449444
components.Target{
450-
Profile: "720p",
451-
VideoOnly: livepeergo.Bool(false),
452-
ID: livepeergo.String("PUSH123"),
453-
Spec: &components.TargetSpec{
454-
Name: livepeergo.String("My target"),
455-
URL: "rtmps://live.my-service.tv/channel/secretKey",
456-
},
445+
Profile: "720p0",
446+
ID: livepeergo.String("PUSH123"),
457447
},
458448
},
459449
},
@@ -560,13 +550,8 @@ func main() {
560550
Multistream: &components.Multistream{
561551
Targets: []components.Target{
562552
components.Target{
563-
Profile: "720p",
564-
VideoOnly: livepeergo.Bool(false),
565-
ID: livepeergo.String("PUSH123"),
566-
Spec: &components.TargetSpec{
567-
Name: livepeergo.String("My target"),
568-
URL: "rtmps://live.my-service.tv/channel/secretKey",
569-
},
553+
Profile: "720p0",
554+
ID: livepeergo.String("PUSH123"),
570555
},
571556
},
572557
},

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,14 @@ Based on:
108108
### Generated
109109
- [go v0.4.0] .
110110
### Releases
111-
- [Go v0.4.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.4.0 - .
111+
- [Go v0.4.0] https://github.com/livepeer/livepeer-go/releases/tag/v0.4.0 - .
112+
113+
## 2024-12-04 00:32:13
114+
### Changes
115+
Based on:
116+
- OpenAPI Doc
117+
- Speakeasy CLI 1.451.1 (2.470.1) https://github.com/speakeasy-api/speakeasy
118+
### Generated
119+
- [go v0.4.1] .
120+
### Releases
121+
- [Go v0.4.1] https://github.com/livepeer/livepeer-go/releases/tag/v0.4.1 - .

USAGE.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,8 @@ func main() {
6868
Multistream: &components.Multistream{
6969
Targets: []components.Target{
7070
components.Target{
71-
Profile: "720p",
72-
VideoOnly: livepeergo.Bool(false),
73-
ID: livepeergo.String("PUSH123"),
74-
Spec: &components.TargetSpec{
75-
Name: livepeergo.String("My target"),
76-
URL: "rtmps://live.my-service.tv/channel/secretKey",
77-
},
71+
Profile: "720p0",
72+
ID: livepeergo.String("PUSH123"),
7873
},
7974
},
8075
},

0 commit comments

Comments
 (0)