From 9bb3fd5b995fd71f3765967616bee723d17a6664 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 6 May 2026 02:47:44 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Descript.ApiEndpointsClient.ListProjects.g.cs | 10 ++++++++++ .../Descript.IApiEndpointsClient.ListProjects.g.cs | 4 ++++ src/libs/Descript/openapi.yaml | 6 ++++++ 3 files changed, 20 insertions(+) diff --git a/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ListProjects.g.cs b/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ListProjects.g.cs index 5fd6f77..932c368 100644 --- a/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ListProjects.g.cs +++ b/src/libs/Descript/Generated/Descript.ApiEndpointsClient.ListProjects.g.cs @@ -28,6 +28,7 @@ public partial class ApiEndpointsClient partial void PrepareListProjectsArguments( global::System.Net.Http.HttpClient httpClient, ref string? name, + ref string? folderPath, ref string? createdBy, ref global::System.DateTime? createdAfter, ref global::System.DateTime? createdBefore, @@ -41,6 +42,7 @@ partial void PrepareListProjectsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? name, + string? folderPath, string? createdBy, global::System.DateTime? createdAfter, global::System.DateTime? createdBefore, @@ -67,6 +69,7 @@ partial void ProcessListProjectsResponseContent( /// to fetch subsequent pages. /// /// + /// /// /// /// @@ -87,6 +90,7 @@ partial void ProcessListProjectsResponseContent( /// public async global::System.Threading.Tasks.Task ListProjectsAsync( string? name = default, + string? folderPath = default, string? createdBy = default, global::System.DateTime? createdAfter = default, global::System.DateTime? createdBefore = default, @@ -101,6 +105,7 @@ partial void ProcessListProjectsResponseContent( { var __response = await ListProjectsAsResponseAsync( name: name, + folderPath: folderPath, createdBy: createdBy, createdAfter: createdAfter, createdBefore: createdBefore, @@ -124,6 +129,7 @@ partial void ProcessListProjectsResponseContent( /// to fetch subsequent pages. /// /// + /// /// /// /// @@ -144,6 +150,7 @@ partial void ProcessListProjectsResponseContent( /// public async global::System.Threading.Tasks.Task> ListProjectsAsResponseAsync( string? name = default, + string? folderPath = default, string? createdBy = default, global::System.DateTime? createdAfter = default, global::System.DateTime? createdBefore = default, @@ -161,6 +168,7 @@ partial void ProcessListProjectsResponseContent( PrepareListProjectsArguments( httpClient: HttpClient, name: ref name, + folderPath: ref folderPath, createdBy: ref createdBy, createdAfter: ref createdAfter, createdBefore: ref createdBefore, @@ -199,6 +207,7 @@ partial void ProcessListProjectsResponseContent( baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("name", name) + .AddOptionalParameter("folder_path", folderPath) .AddOptionalParameter("created_by", createdBy) .AddOptionalParameter("created_after", createdAfter?.ToString("yyyy-MM-ddTHH:mm:ssZ")) .AddOptionalParameter("created_before", createdBefore?.ToString("yyyy-MM-ddTHH:mm:ssZ")) @@ -250,6 +259,7 @@ partial void ProcessListProjectsResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, name: name, + folderPath: folderPath, createdBy: createdBy, createdAfter: createdAfter, createdBefore: createdBefore, diff --git a/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ListProjects.g.cs b/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ListProjects.g.cs index f2beff0..c3f22c6 100644 --- a/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ListProjects.g.cs +++ b/src/libs/Descript/Generated/Descript.IApiEndpointsClient.ListProjects.g.cs @@ -12,6 +12,7 @@ public partial interface IApiEndpointsClient /// to fetch subsequent pages. /// /// + /// /// /// /// @@ -32,6 +33,7 @@ public partial interface IApiEndpointsClient /// global::System.Threading.Tasks.Task ListProjectsAsync( string? name = default, + string? folderPath = default, string? createdBy = default, global::System.DateTime? createdAfter = default, global::System.DateTime? createdBefore = default, @@ -51,6 +53,7 @@ public partial interface IApiEndpointsClient /// to fetch subsequent pages. /// /// + /// /// /// /// @@ -71,6 +74,7 @@ public partial interface IApiEndpointsClient /// global::System.Threading.Tasks.Task> ListProjectsAsResponseAsync( string? name = default, + string? folderPath = default, string? createdBy = default, global::System.DateTime? createdAfter = default, global::System.DateTime? createdBefore = default, diff --git a/src/libs/Descript/openapi.yaml b/src/libs/Descript/openapi.yaml index 4be230e..ba136b2 100644 --- a/src/libs/Descript/openapi.yaml +++ b/src/libs/Descript/openapi.yaml @@ -1565,6 +1565,12 @@ paths: required: false schema: type: string + - in: query + name: folder_path + description: Filter projects by folder path (e.g. "Clients/Acme/Videos"). Use "/" to separate nested folders. Returns only projects directly inside the deepest folder. + required: false + schema: + type: string - in: query name: created_by description: Filter projects created by this user UUID. Pass `me` to filter by the authenticated user.