Skip to content

Commit dd43f77

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#33)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent f360a7b commit dd43f77

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

src/libs/Descript/Generated/Descript.ApiEndpointsClient.ListProjects.g.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public partial class ApiEndpointsClient
2828
partial void PrepareListProjectsArguments(
2929
global::System.Net.Http.HttpClient httpClient,
3030
ref string? name,
31+
ref string? folderPath,
3132
ref string? createdBy,
3233
ref global::System.DateTime? createdAfter,
3334
ref global::System.DateTime? createdBefore,
@@ -41,6 +42,7 @@ partial void PrepareListProjectsRequest(
4142
global::System.Net.Http.HttpClient httpClient,
4243
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
4344
string? name,
45+
string? folderPath,
4446
string? createdBy,
4547
global::System.DateTime? createdAfter,
4648
global::System.DateTime? createdBefore,
@@ -67,6 +69,7 @@ partial void ProcessListProjectsResponseContent(
6769
/// to fetch subsequent pages.
6870
/// </summary>
6971
/// <param name="name"></param>
72+
/// <param name="folderPath"></param>
7073
/// <param name="createdBy"></param>
7174
/// <param name="createdAfter"></param>
7275
/// <param name="createdBefore"></param>
@@ -87,6 +90,7 @@ partial void ProcessListProjectsResponseContent(
8790
/// <exception cref="global::Descript.ApiException"></exception>
8891
public async global::System.Threading.Tasks.Task<global::Descript.ListProjectsResponse> ListProjectsAsync(
8992
string? name = default,
93+
string? folderPath = default,
9094
string? createdBy = default,
9195
global::System.DateTime? createdAfter = default,
9296
global::System.DateTime? createdBefore = default,
@@ -101,6 +105,7 @@ partial void ProcessListProjectsResponseContent(
101105
{
102106
var __response = await ListProjectsAsResponseAsync(
103107
name: name,
108+
folderPath: folderPath,
104109
createdBy: createdBy,
105110
createdAfter: createdAfter,
106111
createdBefore: createdBefore,
@@ -124,6 +129,7 @@ partial void ProcessListProjectsResponseContent(
124129
/// to fetch subsequent pages.
125130
/// </summary>
126131
/// <param name="name"></param>
132+
/// <param name="folderPath"></param>
127133
/// <param name="createdBy"></param>
128134
/// <param name="createdAfter"></param>
129135
/// <param name="createdBefore"></param>
@@ -144,6 +150,7 @@ partial void ProcessListProjectsResponseContent(
144150
/// <exception cref="global::Descript.ApiException"></exception>
145151
public async global::System.Threading.Tasks.Task<global::Descript.AutoSDKHttpResponse<global::Descript.ListProjectsResponse>> ListProjectsAsResponseAsync(
146152
string? name = default,
153+
string? folderPath = default,
147154
string? createdBy = default,
148155
global::System.DateTime? createdAfter = default,
149156
global::System.DateTime? createdBefore = default,
@@ -161,6 +168,7 @@ partial void ProcessListProjectsResponseContent(
161168
PrepareListProjectsArguments(
162169
httpClient: HttpClient,
163170
name: ref name,
171+
folderPath: ref folderPath,
164172
createdBy: ref createdBy,
165173
createdAfter: ref createdAfter,
166174
createdBefore: ref createdBefore,
@@ -199,6 +207,7 @@ partial void ProcessListProjectsResponseContent(
199207
baseUri: HttpClient.BaseAddress);
200208
__pathBuilder
201209
.AddOptionalParameter("name", name)
210+
.AddOptionalParameter("folder_path", folderPath)
202211
.AddOptionalParameter("created_by", createdBy)
203212
.AddOptionalParameter("created_after", createdAfter?.ToString("yyyy-MM-ddTHH:mm:ssZ"))
204213
.AddOptionalParameter("created_before", createdBefore?.ToString("yyyy-MM-ddTHH:mm:ssZ"))
@@ -250,6 +259,7 @@ partial void ProcessListProjectsResponseContent(
250259
httpClient: HttpClient,
251260
httpRequestMessage: __httpRequest,
252261
name: name,
262+
folderPath: folderPath,
253263
createdBy: createdBy,
254264
createdAfter: createdAfter,
255265
createdBefore: createdBefore,

src/libs/Descript/Generated/Descript.IApiEndpointsClient.ListProjects.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public partial interface IApiEndpointsClient
1212
/// to fetch subsequent pages.
1313
/// </summary>
1414
/// <param name="name"></param>
15+
/// <param name="folderPath"></param>
1516
/// <param name="createdBy"></param>
1617
/// <param name="createdAfter"></param>
1718
/// <param name="createdBefore"></param>
@@ -32,6 +33,7 @@ public partial interface IApiEndpointsClient
3233
/// <exception cref="global::Descript.ApiException"></exception>
3334
global::System.Threading.Tasks.Task<global::Descript.ListProjectsResponse> ListProjectsAsync(
3435
string? name = default,
36+
string? folderPath = default,
3537
string? createdBy = default,
3638
global::System.DateTime? createdAfter = default,
3739
global::System.DateTime? createdBefore = default,
@@ -51,6 +53,7 @@ public partial interface IApiEndpointsClient
5153
/// to fetch subsequent pages.
5254
/// </summary>
5355
/// <param name="name"></param>
56+
/// <param name="folderPath"></param>
5457
/// <param name="createdBy"></param>
5558
/// <param name="createdAfter"></param>
5659
/// <param name="createdBefore"></param>
@@ -71,6 +74,7 @@ public partial interface IApiEndpointsClient
7174
/// <exception cref="global::Descript.ApiException"></exception>
7275
global::System.Threading.Tasks.Task<global::Descript.AutoSDKHttpResponse<global::Descript.ListProjectsResponse>> ListProjectsAsResponseAsync(
7376
string? name = default,
77+
string? folderPath = default,
7478
string? createdBy = default,
7579
global::System.DateTime? createdAfter = default,
7680
global::System.DateTime? createdBefore = default,

src/libs/Descript/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1565,6 +1565,12 @@ paths:
15651565
required: false
15661566
schema:
15671567
type: string
1568+
- in: query
1569+
name: folder_path
1570+
description: Filter projects by folder path (e.g. "Clients/Acme/Videos"). Use "/" to separate nested folders. Returns only projects directly inside the deepest folder.
1571+
required: false
1572+
schema:
1573+
type: string
15681574
- in: query
15691575
name: created_by
15701576
description: Filter projects created by this user UUID. Pass `me` to filter by the authenticated user.

0 commit comments

Comments
 (0)