diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ITasks2Client.CreateManyStatus.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get2.g.cs similarity index 90% rename from src/libs/LabelStudio/Generated/LabelStudio.ITasks2Client.CreateManyStatus.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get2.g.cs index 1f678059..d82eeee2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ITasks2Client.CreateManyStatus.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get2.g.cs @@ -2,11 +2,12 @@ namespace LabelStudio { - public partial interface ITasks2Client + public partial interface IProjectsClient { /// /// Get project import status
/// Poll the status of an asynchronous project import operation.
+ /// *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.
///
/// **Usage:**
/// 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{"import": <import_id>}`
@@ -24,7 +25,7 @@ public partial interface ITasks2Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CreateManyStatusAsync( + global::System.Threading.Tasks.Task Get2Async( int id, int importPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, @@ -32,6 +33,7 @@ public partial interface ITasks2Client /// /// Get project import status
/// Poll the status of an asynchronous project import operation.
+ /// *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.
///
/// **Usage:**
/// 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{"import": <import_id>}`
@@ -49,7 +51,7 @@ public partial interface ITasks2Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> CreateManyStatusAsResponseAsync( + global::System.Threading.Tasks.Task> Get2AsResponseAsync( int id, int importPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get3.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get3.g.cs deleted file mode 100644 index 082baad0..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get3.g.cs +++ /dev/null @@ -1,44 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public partial interface IProjectsClient - { - /// - /// ✨ Get project metrics configuration
- /// <Card href="https://humansignal.com/goenterprise">
- /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
- /// <p style="margin-top: 10px; font-size: 14px;">
- /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
- /// </p>
- /// </Card>
- /// Get the current metrics configuration for a project. - ///
- /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task Get3Async( - int id, - global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// ✨ Get project metrics configuration
- /// <Card href="https://humansignal.com/goenterprise">
- /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
- /// <p style="margin-top: 10px; font-size: 14px;">
- /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
- /// </p>
- /// </Card>
- /// Get the current metrics configuration for a project. - ///
- /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> Get3AsResponseAsync( - int id, - global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get4.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get4.g.cs index b99e1da7..d0587f59 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get4.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get4.g.cs @@ -5,38 +5,38 @@ namespace LabelStudio public partial interface IProjectsClient { /// - /// ✨ Get annotator weights
+ /// ✨ Get project metrics configuration
/// <Card href="https://humansignal.com/goenterprise">
/// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
/// <p style="margin-top: 10px; font-size: 14px;">
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
/// </p>
/// </Card>
- /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. + /// Get the current metrics configuration for a project. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task Get4Async( + global::System.Threading.Tasks.Task Get4Async( int id, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// ✨ Get annotator weights
+ /// ✨ Get project metrics configuration
/// <Card href="https://humansignal.com/goenterprise">
/// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
/// <p style="margin-top: 10px; font-size: 14px;">
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
/// </p>
/// </Card>
- /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. + /// Get the current metrics configuration for a project. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> Get4AsResponseAsync( + global::System.Threading.Tasks.Task> Get4AsResponseAsync( int id, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get5.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get5.g.cs index 58fc6c25..e48128ae 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get5.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get5.g.cs @@ -5,53 +5,39 @@ namespace LabelStudio public partial interface IProjectsClient { /// - /// Get project reimport status
- /// Poll the status of an asynchronous project reimport operation.
- ///
- /// **Usage:**
- /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
- /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
- /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
- /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
- ///
- /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
- /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
- /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
- /// + /// ✨ Get annotator weights
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. ///
/// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task Get5Async( + global::System.Threading.Tasks.Task Get5Async( int id, - int reimportPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Get project reimport status
- /// Poll the status of an asynchronous project reimport operation.
- ///
- /// **Usage:**
- /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
- /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
- /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
- /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
- ///
- /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
- /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
- /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
- /// + /// ✨ Get annotator weights
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. ///
/// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> Get5AsResponseAsync( + global::System.Threading.Tasks.Task> Get5AsResponseAsync( int id, - int reimportPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get6.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get6.g.cs new file mode 100644 index 00000000..056579c3 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.IProjectsClient.Get6.g.cs @@ -0,0 +1,58 @@ +#nullable enable + +namespace LabelStudio +{ + public partial interface IProjectsClient + { + /// + /// Get project reimport status
+ /// Poll the status of an asynchronous project reimport operation.
+ ///
+ /// **Usage:**
+ /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
+ /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
+ /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
+ /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
+ ///
+ /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
+ /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
+ /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
+ /// + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get6Async( + int id, + int reimportPk, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get project reimport status
+ /// Poll the status of an asynchronous project reimport operation.
+ ///
+ /// **Usage:**
+ /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
+ /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
+ /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
+ /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
+ ///
+ /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
+ /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
+ /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
+ /// + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> Get6AsResponseAsync( + int id, + int reimportPk, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.CreateManyStatus.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get2.g.cs similarity index 93% rename from src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.CreateManyStatus.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get2.g.cs index a062ca54..248ed427 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.CreateManyStatus.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get2.g.cs @@ -3,11 +3,11 @@ namespace LabelStudio { - public partial class Tasks2Client + public partial class ProjectsClient { - private static readonly global::LabelStudio.EndPointSecurityRequirement s_CreateManyStatusSecurityRequirement0 = + private static readonly global::LabelStudio.EndPointSecurityRequirement s_Get2SecurityRequirement0 = new global::LabelStudio.EndPointSecurityRequirement { Authorizations = new global::LabelStudio.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Tasks2Client }, }, }; - private static readonly global::LabelStudio.EndPointSecurityRequirement[] s_CreateManyStatusSecurityRequirements = + private static readonly global::LabelStudio.EndPointSecurityRequirement[] s_Get2SecurityRequirements = new global::LabelStudio.EndPointSecurityRequirement[] - { s_CreateManyStatusSecurityRequirement0, + { s_Get2SecurityRequirement0, }; - partial void PrepareCreateManyStatusArguments( + partial void PrepareGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref int id, ref int importPk); - partial void PrepareCreateManyStatusRequest( + partial void PrepareGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, int importPk); - partial void ProcessCreateManyStatusResponse( + partial void ProcessGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessCreateManyStatusResponseContent( + partial void ProcessGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -46,6 +46,7 @@ partial void ProcessCreateManyStatusResponseContent( /// /// Get project import status
/// Poll the status of an asynchronous project import operation.
+ /// *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.
///
/// **Usage:**
/// 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{"import": <import_id>}`
@@ -63,13 +64,13 @@ partial void ProcessCreateManyStatusResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CreateManyStatusAsync( + public async global::System.Threading.Tasks.Task Get2Async( int id, int importPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await CreateManyStatusAsResponseAsync( + var __response = await Get2AsResponseAsync( id: id, importPk: importPk, requestOptions: requestOptions, @@ -81,6 +82,7 @@ partial void ProcessCreateManyStatusResponseContent( /// /// Get project import status
/// Poll the status of an asynchronous project import operation.
+ /// *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.
///
/// **Usage:**
/// 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{"import": <import_id>}`
@@ -98,7 +100,7 @@ partial void ProcessCreateManyStatusResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> CreateManyStatusAsResponseAsync( + public async global::System.Threading.Tasks.Task> Get2AsResponseAsync( int id, int importPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, @@ -106,7 +108,7 @@ partial void ProcessCreateManyStatusResponseContent( { PrepareArguments( client: HttpClient); - PrepareCreateManyStatusArguments( + PrepareGet2Arguments( httpClient: HttpClient, id: ref id, importPk: ref importPk); @@ -114,8 +116,8 @@ partial void ProcessCreateManyStatusResponseContent( var __authorizations = global::LabelStudio.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_CreateManyStatusSecurityRequirements, - operationName: "CreateManyStatusAsync"); + securityRequirements: s_Get2SecurityRequirements, + operationName: "Get2Async"); using var __timeoutCancellationTokenSource = global::LabelStudio.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -174,7 +176,7 @@ partial void ProcessCreateManyStatusResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareCreateManyStatusRequest( + PrepareGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, id: id, @@ -195,8 +197,8 @@ partial void ProcessCreateManyStatusResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateManyStatus", - methodName: "CreateManyStatusAsync", + operationId: "Get2", + methodName: "Get2Async", pathTemplate: "$\"/api/projects/{id}/imports/{importPk}/\"", httpMethod: "GET", baseUri: BaseUri, @@ -229,8 +231,8 @@ partial void ProcessCreateManyStatusResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateManyStatus", - methodName: "CreateManyStatusAsync", + operationId: "Get2", + methodName: "Get2Async", pathTemplate: "$\"/api/projects/{id}/imports/{importPk}/\"", httpMethod: "GET", baseUri: BaseUri, @@ -270,8 +272,8 @@ partial void ProcessCreateManyStatusResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateManyStatus", - methodName: "CreateManyStatusAsync", + operationId: "Get2", + methodName: "Get2Async", pathTemplate: "$\"/api/projects/{id}/imports/{importPk}/\"", httpMethod: "GET", baseUri: BaseUri, @@ -310,7 +312,7 @@ partial void ProcessCreateManyStatusResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessCreateManyStatusResponse( + ProcessGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -318,8 +320,8 @@ partial void ProcessCreateManyStatusResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateManyStatus", - methodName: "CreateManyStatusAsync", + operationId: "Get2", + methodName: "Get2Async", pathTemplate: "$\"/api/projects/{id}/imports/{importPk}/\"", httpMethod: "GET", baseUri: BaseUri, @@ -340,8 +342,8 @@ partial void ProcessCreateManyStatusResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "CreateManyStatus", - methodName: "CreateManyStatusAsync", + operationId: "Get2", + methodName: "Get2Async", pathTemplate: "$\"/api/projects/{id}/imports/{importPk}/\"", httpMethod: "GET", baseUri: BaseUri, @@ -370,7 +372,7 @@ partial void ProcessCreateManyStatusResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessCreateManyStatusResponseContent( + ProcessGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get4.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get4.g.cs index a6f16d6c..38243aaa 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get4.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get4.g.cs @@ -42,20 +42,20 @@ partial void ProcessGet4ResponseContent( ref string content); /// - /// ✨ Get annotator weights
+ /// ✨ Get project metrics configuration
/// <Card href="https://humansignal.com/goenterprise">
/// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
/// <p style="margin-top: 10px; font-size: 14px;">
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
/// </p>
/// </Card>
- /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. + /// Get the current metrics configuration for a project. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Get4Async( + public async global::System.Threading.Tasks.Task Get4Async( int id, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -69,20 +69,20 @@ partial void ProcessGet4ResponseContent( return __response.Body; } /// - /// ✨ Get annotator weights
+ /// ✨ Get project metrics configuration
/// <Card href="https://humansignal.com/goenterprise">
/// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
/// <p style="margin-top: 10px; font-size: 14px;">
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
/// </p>
/// </Card>
- /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. + /// Get the current metrics configuration for a project. ///
/// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> Get4AsResponseAsync( + public async global::System.Threading.Tasks.Task> Get4AsResponseAsync( int id, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -117,7 +117,7 @@ partial void ProcessGet4ResponseContent( { var __pathBuilder = new global::LabelStudio.PathBuilder( - path: $"/api/projects/{id}/project-extra-params/", + path: $"/api/projects/{id}/metricparam/", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::LabelStudio.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -178,7 +178,7 @@ partial void ProcessGet4ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get4", methodName: "Get4Async", - pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", + pathTemplate: "$\"/api/projects/{id}/metricparam/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -212,7 +212,7 @@ partial void ProcessGet4ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get4", methodName: "Get4Async", - pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", + pathTemplate: "$\"/api/projects/{id}/metricparam/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -253,7 +253,7 @@ partial void ProcessGet4ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get4", methodName: "Get4Async", - pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", + pathTemplate: "$\"/api/projects/{id}/metricparam/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -301,7 +301,7 @@ partial void ProcessGet4ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get4", methodName: "Get4Async", - pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", + pathTemplate: "$\"/api/projects/{id}/metricparam/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -323,7 +323,7 @@ partial void ProcessGet4ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get4", methodName: "Get4Async", - pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", + pathTemplate: "$\"/api/projects/{id}/metricparam/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -360,9 +360,9 @@ partial void ProcessGet4ResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::LabelStudio.LseProjectParams.FromJson(__content, JsonSerializerContext) ?? + var __value = global::LabelStudio.MetricParam.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::LabelStudio.AutoSDKHttpResponse( + return new global::LabelStudio.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -392,9 +392,9 @@ partial void ProcessGet4ResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::LabelStudio.LseProjectParams.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::LabelStudio.MetricParam.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::LabelStudio.AutoSDKHttpResponse( + return new global::LabelStudio.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get5.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get5.g.cs index 83727261..8e0b8513 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get5.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get5.g.cs @@ -27,13 +27,11 @@ public partial class ProjectsClient }; partial void PrepareGet5Arguments( global::System.Net.Http.HttpClient httpClient, - ref int id, - ref int reimportPk); + ref int id); partial void PrepareGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - int id, - int reimportPk); + int id); partial void ProcessGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -44,34 +42,26 @@ partial void ProcessGet5ResponseContent( ref string content); /// - /// Get project reimport status
- /// Poll the status of an asynchronous project reimport operation.
- ///
- /// **Usage:**
- /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
- /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
- /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
- /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
- ///
- /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
- /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
- /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
- /// + /// ✨ Get annotator weights
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. ///
/// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Get5Async( + public async global::System.Threading.Tasks.Task Get5Async( int id, - int reimportPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await Get5AsResponseAsync( id: id, - reimportPk: reimportPk, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -79,28 +69,21 @@ partial void ProcessGet5ResponseContent( return __response.Body; } /// - /// Get project reimport status
- /// Poll the status of an asynchronous project reimport operation.
- ///
- /// **Usage:**
- /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
- /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
- /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
- /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
- ///
- /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
- /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
- /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
- /// + /// ✨ Get annotator weights
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused. ///
/// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> Get5AsResponseAsync( + public async global::System.Threading.Tasks.Task> Get5AsResponseAsync( int id, - int reimportPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -108,8 +91,7 @@ partial void ProcessGet5ResponseContent( client: HttpClient); PrepareGet5Arguments( httpClient: HttpClient, - id: ref id, - reimportPk: ref reimportPk); + id: ref id); var __authorizations = global::LabelStudio.EndPointSecurityResolver.ResolveAuthorizations( @@ -135,7 +117,7 @@ partial void ProcessGet5ResponseContent( { var __pathBuilder = new global::LabelStudio.PathBuilder( - path: $"/api/projects/{id}/reimports/{reimportPk}/", + path: $"/api/projects/{id}/project-extra-params/", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::LabelStudio.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -177,8 +159,7 @@ partial void ProcessGet5ResponseContent( PrepareGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id, - reimportPk: reimportPk); + id: id); return __httpRequest; } @@ -197,7 +178,7 @@ partial void ProcessGet5ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get5", methodName: "Get5Async", - pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", + pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -231,7 +212,7 @@ partial void ProcessGet5ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get5", methodName: "Get5Async", - pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", + pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -272,7 +253,7 @@ partial void ProcessGet5ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get5", methodName: "Get5Async", - pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", + pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -320,7 +301,7 @@ partial void ProcessGet5ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get5", methodName: "Get5Async", - pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", + pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -342,7 +323,7 @@ partial void ProcessGet5ResponseContent( context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( operationId: "Get5", methodName: "Get5Async", - pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", + pathTemplate: "$\"/api/projects/{id}/project-extra-params/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -379,9 +360,9 @@ partial void ProcessGet5ResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::LabelStudio.ProjectReimport.FromJson(__content, JsonSerializerContext) ?? + var __value = global::LabelStudio.LseProjectParams.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::LabelStudio.AutoSDKHttpResponse( + return new global::LabelStudio.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -411,9 +392,9 @@ partial void ProcessGet5ResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::LabelStudio.ProjectReimport.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::LabelStudio.LseProjectParams.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::LabelStudio.AutoSDKHttpResponse( + return new global::LabelStudio.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get3.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get6.g.cs similarity index 82% rename from src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get3.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get6.g.cs index 1f6ff223..bf2a11b5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get3.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.Get6.g.cs @@ -7,7 +7,7 @@ public partial class ProjectsClient { - private static readonly global::LabelStudio.EndPointSecurityRequirement s_Get3SecurityRequirement0 = + private static readonly global::LabelStudio.EndPointSecurityRequirement s_Get6SecurityRequirement0 = new global::LabelStudio.EndPointSecurityRequirement { Authorizations = new global::LabelStudio.EndPointAuthorizationRequirement[] @@ -21,47 +21,57 @@ public partial class ProjectsClient }, }, }; - private static readonly global::LabelStudio.EndPointSecurityRequirement[] s_Get3SecurityRequirements = + private static readonly global::LabelStudio.EndPointSecurityRequirement[] s_Get6SecurityRequirements = new global::LabelStudio.EndPointSecurityRequirement[] - { s_Get3SecurityRequirement0, + { s_Get6SecurityRequirement0, }; - partial void PrepareGet3Arguments( + partial void PrepareGet6Arguments( global::System.Net.Http.HttpClient httpClient, - ref int id); - partial void PrepareGet3Request( + ref int id, + ref int reimportPk); + partial void PrepareGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - int id); - partial void ProcessGet3Response( + int id, + int reimportPk); + partial void ProcessGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessGet3ResponseContent( + partial void ProcessGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// ✨ Get project metrics configuration
- /// <Card href="https://humansignal.com/goenterprise">
- /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
- /// <p style="margin-top: 10px; font-size: 14px;">
- /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
- /// </p>
- /// </Card>
- /// Get the current metrics configuration for a project. + /// Get project reimport status
+ /// Poll the status of an asynchronous project reimport operation.
+ ///
+ /// **Usage:**
+ /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
+ /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
+ /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
+ /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
+ ///
+ /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
+ /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
+ /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
+ /// ///
/// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task Get3Async( + public async global::System.Threading.Tasks.Task Get6Async( int id, + int reimportPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await Get3AsResponseAsync( + var __response = await Get6AsResponseAsync( id: id, + reimportPk: reimportPk, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -69,35 +79,43 @@ partial void ProcessGet3ResponseContent( return __response.Body; } /// - /// ✨ Get project metrics configuration
- /// <Card href="https://humansignal.com/goenterprise">
- /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
- /// <p style="margin-top: 10px; font-size: 14px;">
- /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
- /// </p>
- /// </Card>
- /// Get the current metrics configuration for a project. + /// Get project reimport status
+ /// Poll the status of an asynchronous project reimport operation.
+ ///
+ /// **Usage:**
+ /// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID
+ /// 2. Use that `reimport_id` with this GET endpoint to check the reimport status
+ /// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed
+ /// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request
+ ///
+ /// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.
+ /// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.
+ /// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.
+ /// ///
/// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> Get3AsResponseAsync( + public async global::System.Threading.Tasks.Task> Get6AsResponseAsync( int id, + int reimportPk, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareGet3Arguments( + PrepareGet6Arguments( httpClient: HttpClient, - id: ref id); + id: ref id, + reimportPk: ref reimportPk); var __authorizations = global::LabelStudio.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_Get3SecurityRequirements, - operationName: "Get3Async"); + securityRequirements: s_Get6SecurityRequirements, + operationName: "Get6Async"); using var __timeoutCancellationTokenSource = global::LabelStudio.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -117,7 +135,7 @@ partial void ProcessGet3ResponseContent( { var __pathBuilder = new global::LabelStudio.PathBuilder( - path: $"/api/projects/{id}/metricparam/", + path: $"/api/projects/{id}/reimports/{reimportPk}/", baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); __path = global::LabelStudio.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -156,10 +174,11 @@ partial void ProcessGet3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareGet3Request( + PrepareGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id); + id: id, + reimportPk: reimportPk); return __httpRequest; } @@ -176,9 +195,9 @@ partial void ProcessGet3ResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "Get3", - methodName: "Get3Async", - pathTemplate: "$\"/api/projects/{id}/metricparam/\"", + operationId: "Get6", + methodName: "Get6Async", + pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -210,9 +229,9 @@ partial void ProcessGet3ResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "Get3", - methodName: "Get3Async", - pathTemplate: "$\"/api/projects/{id}/metricparam/\"", + operationId: "Get6", + methodName: "Get6Async", + pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -251,9 +270,9 @@ partial void ProcessGet3ResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "Get3", - methodName: "Get3Async", - pathTemplate: "$\"/api/projects/{id}/metricparam/\"", + operationId: "Get6", + methodName: "Get6Async", + pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -291,7 +310,7 @@ partial void ProcessGet3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessGet3Response( + ProcessGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -299,9 +318,9 @@ partial void ProcessGet3ResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "Get3", - methodName: "Get3Async", - pathTemplate: "$\"/api/projects/{id}/metricparam/\"", + operationId: "Get6", + methodName: "Get6Async", + pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -321,9 +340,9 @@ partial void ProcessGet3ResponseContent( await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "Get3", - methodName: "Get3Async", - pathTemplate: "$\"/api/projects/{id}/metricparam/\"", + operationId: "Get6", + methodName: "Get6Async", + pathTemplate: "$\"/api/projects/{id}/reimports/{reimportPk}/\"", httpMethod: "GET", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), @@ -351,7 +370,7 @@ partial void ProcessGet3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessGet3ResponseContent( + ProcessGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -360,9 +379,9 @@ partial void ProcessGet3ResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::LabelStudio.MetricParam.FromJson(__content, JsonSerializerContext) ?? + var __value = global::LabelStudio.ProjectReimport.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::LabelStudio.AutoSDKHttpResponse( + return new global::LabelStudio.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -392,9 +411,9 @@ partial void ProcessGet3ResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::LabelStudio.MetricParam.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::LabelStudio.ProjectReimport.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::LabelStudio.AutoSDKHttpResponse( + return new global::LabelStudio.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index c74f3f8c..fc4f7893 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -12643,7 +12643,7 @@ paths: x-fern-sdk-method-name: list /api/projects/{id}/imports/{import_pk}/: get: - description: "\n Poll the status of an asynchronous project import operation.\n \n **Usage:**\n 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{\"import\": }`\n 2. Use that `import_id` with this GET endpoint to check the import status\n 3. Poll this endpoint to see if the import has completed, is still processing, or has failed\n 4. **Import errors and failures will only be visible in this GET response**, not in the original POST request\n \n This endpoint returns detailed information about the import including task counts, status, and any error messages.\n While an import is running, `task_count` / annotation / prediction counts update as batches commit.\n Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.\n " + description: "\n Poll the status of an asynchronous project import operation.\n\n *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.\n \n **Usage:**\n 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{\"import\": }`\n 2. Use that `import_id` with this GET endpoint to check the import status\n 3. Poll this endpoint to see if the import has completed, is still processing, or has failed\n 4. **Import errors and failures will only be visible in this GET response**, not in the original POST request\n \n This endpoint returns detailed information about the import including task counts, status, and any error messages.\n While an import is running, `task_count` / annotation / prediction counts update as batches commit.\n Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.\n " operationId: api_projects_imports_retrieve parameters: - description: A unique integer value identifying this project. @@ -12672,8 +12672,10 @@ paths: - Projects x-fern-audiences: - public - x-fern-sdk-group-name: tasks - x-fern-sdk-method-name: create_many_status + x-fern-sdk-group-name: + - projects + - imports + x-fern-sdk-method-name: get /api/projects/{id}/members/: delete: description: |-