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 @@ -43,6 +43,14 @@ public sealed partial class GetProjectResponse
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.DateTime UpdatedAt { get; set; }

/// <summary>
/// Full folder path for the project (e.g. "Clients/Acme/Videos"). Absent when the project is at the drive root.<br/>
/// Example: Clients/Acme/Videos
/// </summary>
/// <example>Clients/Acme/Videos</example>
[global::System.Text.Json.Serialization.JsonPropertyName("folder_path")]
public string? FolderPath { get; set; }

/// <summary>
/// Map of display path to media file info
/// </summary>
Expand Down Expand Up @@ -87,6 +95,10 @@ public sealed partial class GetProjectResponse
/// <param name="compositions">
/// Compositions in the project
/// </param>
/// <param name="folderPath">
/// Full folder path for the project (e.g. "Clients/Acme/Videos"). Absent when the project is at the drive root.<br/>
/// Example: Clients/Acme/Videos
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -97,13 +109,15 @@ public GetProjectResponse(
global::System.DateTime createdAt,
global::System.DateTime updatedAt,
global::System.Collections.Generic.Dictionary<string, global::Descript.GetProjectResponseMediaFiles2> mediaFiles,
global::System.Collections.Generic.IList<global::Descript.GetProjectResponseComposition> compositions)
global::System.Collections.Generic.IList<global::Descript.GetProjectResponseComposition> compositions,
string? folderPath)
{
this.Id = id;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.DriveId = driveId;
this.CreatedAt = createdAt;
this.UpdatedAt = updatedAt;
this.FolderPath = folderPath;
this.MediaFiles = mediaFiles ?? throw new global::System.ArgumentNullException(nameof(mediaFiles));
this.Compositions = compositions ?? throw new global::System.ArgumentNullException(nameof(compositions));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ public sealed partial class ListProjectsResponseDataItem
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.DateTime UpdatedAt { get; set; }

/// <summary>
/// Full folder path for the project (e.g. "Clients/Acme/Videos"). Absent when the project is at the drive root.<br/>
/// Example: Clients/Acme/Videos
/// </summary>
/// <example>Clients/Acme/Videos</example>
[global::System.Text.Json.Serialization.JsonPropertyName("folder_path")]
public string? FolderPath { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand All @@ -69,19 +77,25 @@ public sealed partial class ListProjectsResponseDataItem
/// When the project was last updated<br/>
/// Example: 2025-11-19T14:00:00Z
/// </param>
/// <param name="folderPath">
/// Full folder path for the project (e.g. "Clients/Acme/Videos"). Absent when the project is at the drive root.<br/>
/// Example: Clients/Acme/Videos
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public ListProjectsResponseDataItem(
global::System.Guid id,
string name,
global::System.DateTime createdAt,
global::System.DateTime updatedAt)
global::System.DateTime updatedAt,
string? folderPath)
{
this.Id = id;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.CreatedAt = createdAt;
this.UpdatedAt = updatedAt;
this.FolderPath = folderPath;
}

/// <summary>
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 @@ -1682,6 +1682,10 @@ paths:
format: date-time
description: When the project was last updated
example: '2025-11-19T14:00:00Z'
folder_path:
type: string
description: Full folder path for the project (e.g. "Clients/Acme/Videos"). Absent when the project is at the drive root.
example: Clients/Acme/Videos
pagination:
type: object
properties:
Expand Down Expand Up @@ -1755,6 +1759,10 @@ paths:
type: string
format: date-time
description: When the project was last updated (ISO 8601)
folder_path:
type: string
description: Full folder path for the project (e.g. "Clients/Acme/Videos"). Absent when the project is at the drive root.
example: Clients/Acme/Videos
media_files:
type: object
description: Map of display path to media file info
Expand Down