Skip to content

Commit 1c236d9

Browse files
authoredNov 8, 2023
Bump to latest openapi spec (#47)
1 parent 9a7bb3f commit 1c236d9

6 files changed

+6
-6
lines changed
 

‎configuration.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type ConfigurationOption func(*Configuration)
2222
func NewConfiguration(opts ...ConfigurationOption) *Configuration {
2323
cfg := &Configuration{
2424
basePath: "https://api.mux.com",
25-
userAgent: "Mux Go | 5.0.0",
25+
userAgent: "Mux Go | 5.0.1",
2626
}
2727
for _, opt := range opts {
2828
opt(cfg)

‎docs/Asset.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**MaxStoredResolution** | **string** | This field is deprecated. Please use `resolution_tier` instead. The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. | [optional]
1111
**ResolutionTier** | **string** | The resolution tier that the asset was ingested at, affecting billing for ingest & storage. This field also represents the highest resolution tier that the content can be delivered at, however the actual resolution may be lower depending on the device, bandwidth, and exact resolution of the uploaded asset. | [optional]
1212
**MaxResolutionTier** | **string** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional]
13-
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. | [optional]
13+
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers) | [optional]
1414
**MaxStoredFrameRate** | **float64** | The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined. | [optional]
1515
**AspectRatio** | **string** | The aspect ratio of the asset in the form of `width:height`, for example `16:9`. | [optional]
1616
**PlaybackIds** | [**[]PlaybackId**](PlaybackID.md) | An array of Playback ID objects. Use these to create HLS playback URLs. See [Play your videos](https://docs.mux.com/guides/video/play-your-videos) for more details. | [optional]

‎docs/CreateAssetRequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**MasterAccess** | **string** | Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the [Download your videos guide](/guides/video/download-your-videos) for more information. | [optional]
1313
**Test** | **bool** | Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs. | [optional]
1414
**MaxResolutionTier** | **string** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional]
15-
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. | [optional]
15+
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers) | [optional]
1616

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

‎model_asset.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Asset struct {
1818
ResolutionTier string `json:"resolution_tier,omitempty"`
1919
// Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`.
2020
MaxResolutionTier string `json:"max_resolution_tier,omitempty"`
21-
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
21+
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
2222
EncodingTier string `json:"encoding_tier,omitempty"`
2323
// The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.
2424
MaxStoredFrameRate float64 `json:"max_stored_frame_rate,omitempty"`

‎model_asset_master.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
package muxgo
55

6-
// An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if `master_acess` is set to `none` and when the temporary URL expires.
6+
// An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if `master_access` is set to `none` and when the temporary URL expires.
77
type AssetMaster struct {
88
Status string `json:"status,omitempty"`
99
// The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.

‎model_create_asset_request.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ type CreateAssetRequest struct {
2121
Test bool `json:"test,omitempty"`
2222
// Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`.
2323
MaxResolutionTier string `json:"max_resolution_tier,omitempty"`
24-
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
24+
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
2525
EncodingTier string `json:"encoding_tier,omitempty"`
2626
}

0 commit comments

Comments
 (0)
Please sign in to comment.