Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,13 @@ partial void ProcessImportProjectMediaResponseContent(
/// Default Value: none<br/>
/// Example: edit
/// </param>
/// <param name="folderName">
/// Folder path to place the new project in (e.g. "Clients/Acme/Videos").<br/>
/// Supports nested paths using "/" as separator. Only applicable when creating a new project<br/>
/// (when project_id is not provided). Existing folders along the path are reused; missing<br/>
/// segments are created automatically.<br/>
/// Example: Clients/Acme
/// </param>
/// <param name="addMedia">
/// Map of media reference IDs (display names with optional folder paths) to media import items.<br/>
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").<br/>
Expand All @@ -696,6 +703,7 @@ partial void ProcessImportProjectMediaResponseContent(
global::System.Guid? projectId = default,
string? projectName = default,
global::Descript.ImportProjectMediaRequestTeamAccess? teamAccess = default,
string? folderName = default,
global::System.Collections.Generic.Dictionary<string, global::Descript.OneOf<global::Descript.ImportProjectMediaRequestAddMediaUrlImport, global::Descript.ImportProjectMediaRequestAddMediaDirectUpload, global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequence>>? addMedia = default,
global::System.Collections.Generic.IList<global::Descript.ImportProjectMediaRequestAddComposition>? addCompositions = default,
string? callbackUrl = default,
Expand All @@ -707,6 +715,7 @@ partial void ProcessImportProjectMediaResponseContent(
ProjectId = projectId,
ProjectName = projectName,
TeamAccess = teamAccess,
FolderName = folderName,
AddMedia = addMedia,
AddCompositions = addCompositions,
CallbackUrl = callbackUrl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ public partial interface IApiEndpointsClient
/// Default Value: none<br/>
/// Example: edit
/// </param>
/// <param name="folderName">
/// Folder path to place the new project in (e.g. "Clients/Acme/Videos").<br/>
/// Supports nested paths using "/" as separator. Only applicable when creating a new project<br/>
/// (when project_id is not provided). Existing folders along the path are reused; missing<br/>
/// segments are created automatically.<br/>
/// Example: Clients/Acme
/// </param>
/// <param name="addMedia">
/// Map of media reference IDs (display names with optional folder paths) to media import items.<br/>
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").<br/>
Expand All @@ -98,6 +105,7 @@ public partial interface IApiEndpointsClient
global::System.Guid? projectId = default,
string? projectName = default,
global::Descript.ImportProjectMediaRequestTeamAccess? teamAccess = default,
string? folderName = default,
global::System.Collections.Generic.Dictionary<string, global::Descript.OneOf<global::Descript.ImportProjectMediaRequestAddMediaUrlImport, global::Descript.ImportProjectMediaRequestAddMediaDirectUpload, global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequence>>? addMedia = default,
global::System.Collections.Generic.IList<global::Descript.ImportProjectMediaRequestAddComposition>? addCompositions = default,
string? callbackUrl = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ public sealed partial class ImportProjectMediaRequest
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Descript.JsonConverters.ImportProjectMediaRequestTeamAccessJsonConverter))]
public global::Descript.ImportProjectMediaRequestTeamAccess? TeamAccess { get; set; }

/// <summary>
/// Folder path to place the new project in (e.g. "Clients/Acme/Videos").<br/>
/// Supports nested paths using "/" as separator. Only applicable when creating a new project<br/>
/// (when project_id is not provided). Existing folders along the path are reused; missing<br/>
/// segments are created automatically.<br/>
/// Example: Clients/Acme
/// </summary>
/// <example>Clients/Acme</example>
[global::System.Text.Json.Serialization.JsonPropertyName("folder_name")]
public string? FolderName { get; set; }

/// <summary>
/// Map of media reference IDs (display names with optional folder paths) to media import items.<br/>
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").<br/>
Expand Down Expand Up @@ -100,6 +111,13 @@ public sealed partial class ImportProjectMediaRequest
/// Default Value: none<br/>
/// Example: edit
/// </param>
/// <param name="folderName">
/// Folder path to place the new project in (e.g. "Clients/Acme/Videos").<br/>
/// Supports nested paths using "/" as separator. Only applicable when creating a new project<br/>
/// (when project_id is not provided). Existing folders along the path are reused; missing<br/>
/// segments are created automatically.<br/>
/// Example: Clients/Acme
/// </param>
/// <param name="addMedia">
/// Map of media reference IDs (display names with optional folder paths) to media import items.<br/>
/// Keys are the display names that will appear in the project (e.g., "Misc/intro.mp4" or "demo.mp4").<br/>
Expand All @@ -121,13 +139,15 @@ public ImportProjectMediaRequest(
global::System.Guid? projectId,
string? projectName,
global::Descript.ImportProjectMediaRequestTeamAccess? teamAccess,
string? folderName,
global::System.Collections.Generic.Dictionary<string, global::Descript.OneOf<global::Descript.ImportProjectMediaRequestAddMediaUrlImport, global::Descript.ImportProjectMediaRequestAddMediaDirectUpload, global::Descript.ImportProjectMediaRequestAddMediaMultitrackSequence>>? addMedia,
global::System.Collections.Generic.IList<global::Descript.ImportProjectMediaRequestAddComposition>? addCompositions,
string? callbackUrl)
{
this.ProjectId = projectId;
this.ProjectName = projectName;
this.TeamAccess = teamAccess;
this.FolderName = folderName;
this.AddMedia = addMedia;
this.AddCompositions = addCompositions;
this.CallbackUrl = callbackUrl;
Expand Down
8 changes: 8 additions & 0 deletions src/libs/Descript/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,14 @@ paths:
- none
default: none
example: edit
folder_name:
type: string
description: |
Folder path to place the new project in (e.g. "Clients/Acme/Videos").
Supports nested paths using "/" as separator. Only applicable when creating a new project
(when project_id is not provided). Existing folders along the path are reused; missing
segments are created automatically.
example: Clients/Acme
add_media:
type: object
description: |
Expand Down