From 48fe4f9dc0fa9f1ddb15833f31e271a4f2148d97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 18 May 2026 12:25:56 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Shotstack/Generated/Shotstack.Models.Clip.g.cs | 14 ++++++++++++++ src/libs/Shotstack/openapi.json | 5 +++++ 2 files changed, 19 insertions(+) diff --git a/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs b/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs index 4381911..a869325 100644 --- a/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs +++ b/src/libs/Shotstack/Generated/Shotstack.Models.Clip.g.cs @@ -10,6 +10,14 @@ namespace Shotstack /// public sealed partial class Clip { + /// + /// Optional client-generated identifier. Used by client SDKs (e.g. the Shotstack Studio SDK) to reference a clip across edits without relying on its position in the timeline. The render API does not use this field and it does not appear in render output.
+ /// Example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + ///
+ /// f47ac10b-58cc-4372-a567-0e02b2c3d479 + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + /// /// The type of asset to display for the duration of the Clip, i.e. a video clip or an image. Choose from one of the available asset types below. /// @@ -171,6 +179,10 @@ public sealed partial class Clip /// /// The duration the Clip should play for. /// + /// + /// Optional client-generated identifier. Used by client SDKs (e.g. the Shotstack Studio SDK) to reference a clip across edits without relying on its position in the timeline. The render API does not use this field and it does not appear in render output.
+ /// Example: f47ac10b-58cc-4372-a567-0e02b2c3d479 + /// /// /// Set how the asset should be scaled to fit the viewport using one of the following options:
/// <ul>
@@ -251,6 +263,7 @@ public Clip( global::Shotstack.Asset asset, global::Shotstack.OneOf start, global::Shotstack.OneOf length, + string? id, global::Shotstack.ClipFit? fit, global::Shotstack.OneOf>? scale, float? width, @@ -264,6 +277,7 @@ public Clip( global::Shotstack.Transformation? transform, string? alias) { + this.Id = id; this.Asset = asset; this.Start = start; this.Length = length; diff --git a/src/libs/Shotstack/openapi.json b/src/libs/Shotstack/openapi.json index 66ce165..294f959 100644 --- a/src/libs/Shotstack/openapi.json +++ b/src/libs/Shotstack/openapi.json @@ -890,6 +890,11 @@ "Clip": { "description": "A clip is a container for a specific type of asset, i.e. a title, image, video, audio or html. You use a Clip to define when an asset will display on the timeline, how long it will play for and transitions, filters and effects to apply to it.", "properties": { + "id": { + "description": "Optional client-generated identifier. Used by client SDKs (e.g. the Shotstack Studio SDK) to reference a clip across edits without relying on its position in the timeline. The render API does not use this field and it does not appear in render output.", + "type": "string", + "example": "f47ac10b-58cc-4372-a567-0e02b2c3d479" + }, "asset": { "$ref": "#/components/schemas/Asset" },