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 @@ -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,
Expand All @@ -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,
Expand All @@ -67,6 +69,7 @@ partial void ProcessListProjectsResponseContent(
/// to fetch subsequent pages.
/// </summary>
/// <param name="name"></param>
/// <param name="folderPath"></param>
/// <param name="createdBy"></param>
/// <param name="createdAfter"></param>
/// <param name="createdBefore"></param>
Expand All @@ -87,6 +90,7 @@ partial void ProcessListProjectsResponseContent(
/// <exception cref="global::Descript.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::Descript.ListProjectsResponse> ListProjectsAsync(
string? name = default,
string? folderPath = default,
string? createdBy = default,
global::System.DateTime? createdAfter = default,
global::System.DateTime? createdBefore = default,
Expand All @@ -101,6 +105,7 @@ partial void ProcessListProjectsResponseContent(
{
var __response = await ListProjectsAsResponseAsync(
name: name,
folderPath: folderPath,
createdBy: createdBy,
createdAfter: createdAfter,
createdBefore: createdBefore,
Expand All @@ -124,6 +129,7 @@ partial void ProcessListProjectsResponseContent(
/// to fetch subsequent pages.
/// </summary>
/// <param name="name"></param>
/// <param name="folderPath"></param>
/// <param name="createdBy"></param>
/// <param name="createdAfter"></param>
/// <param name="createdBefore"></param>
Expand All @@ -144,6 +150,7 @@ partial void ProcessListProjectsResponseContent(
/// <exception cref="global::Descript.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::Descript.AutoSDKHttpResponse<global::Descript.ListProjectsResponse>> ListProjectsAsResponseAsync(
string? name = default,
string? folderPath = default,
string? createdBy = default,
global::System.DateTime? createdAfter = default,
global::System.DateTime? createdBefore = default,
Expand All @@ -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,
Expand Down Expand Up @@ -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"))
Expand Down Expand Up @@ -250,6 +259,7 @@ partial void ProcessListProjectsResponseContent(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
name: name,
folderPath: folderPath,
createdBy: createdBy,
createdAfter: createdAfter,
createdBefore: createdBefore,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public partial interface IApiEndpointsClient
/// to fetch subsequent pages.
/// </summary>
/// <param name="name"></param>
/// <param name="folderPath"></param>
/// <param name="createdBy"></param>
/// <param name="createdAfter"></param>
/// <param name="createdBefore"></param>
Expand All @@ -32,6 +33,7 @@ public partial interface IApiEndpointsClient
/// <exception cref="global::Descript.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Descript.ListProjectsResponse> ListProjectsAsync(
string? name = default,
string? folderPath = default,
string? createdBy = default,
global::System.DateTime? createdAfter = default,
global::System.DateTime? createdBefore = default,
Expand All @@ -51,6 +53,7 @@ public partial interface IApiEndpointsClient
/// to fetch subsequent pages.
/// </summary>
/// <param name="name"></param>
/// <param name="folderPath"></param>
/// <param name="createdBy"></param>
/// <param name="createdAfter"></param>
/// <param name="createdBefore"></param>
Expand All @@ -71,6 +74,7 @@ public partial interface IApiEndpointsClient
/// <exception cref="global::Descript.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Descript.AutoSDKHttpResponse<global::Descript.ListProjectsResponse>> ListProjectsAsResponseAsync(
string? name = default,
string? folderPath = default,
string? createdBy = default,
global::System.DateTime? createdAfter = default,
global::System.DateTime? createdBefore = default,
Expand Down
6 changes: 6 additions & 0 deletions src/libs/Descript/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down