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 @@ -2,11 +2,12 @@

namespace LabelStudio
{
public partial interface ITasks2Client
public partial interface IProjectsClient
{
/// <summary>
/// Get project import status<br/>
/// Poll the status of an asynchronous project import operation.<br/>
/// *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.<br/>
/// <br/>
/// **Usage:**<br/>
/// 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{"import": &lt;import_id&gt;}`<br/>
Expand All @@ -24,14 +25,15 @@ public partial interface ITasks2Client
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.ProjectImport> CreateManyStatusAsync(
global::System.Threading.Tasks.Task<global::LabelStudio.ProjectImport> Get2Async(
int id,
int importPk,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get project import status<br/>
/// Poll the status of an asynchronous project import operation.<br/>
/// *Note*: this endpoint is also accessible as `client.tasks.create_many_status`, its historical location.<br/>
/// <br/>
/// **Usage:**<br/>
/// 1. When you POST to `/api/projects/{project_id}/import`, you'll receive a response like `{"import": &lt;import_id&gt;}`<br/>
Expand All @@ -49,7 +51,7 @@ public partial interface ITasks2Client
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.AutoSDKHttpResponse<global::LabelStudio.ProjectImport>> CreateManyStatusAsResponseAsync(
global::System.Threading.Tasks.Task<global::LabelStudio.AutoSDKHttpResponse<global::LabelStudio.ProjectImport>> Get2AsResponseAsync(
int id,
int importPk,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,38 @@ namespace LabelStudio
public partial interface IProjectsClient
{
/// <summary>
/// ✨ Get annotator weights<br/>
/// ✨ Get project metrics configuration<br/>
/// &lt;Card href="https://humansignal.com/goenterprise"&gt;<br/>
/// &lt;img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/&gt;<br/>
/// &lt;p style="margin-top: 10px; font-size: 14px;"&gt;<br/>
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)<br/>
/// &lt;/p&gt;<br/>
/// &lt;/Card&gt;<br/>
/// 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.
/// </summary>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.LseProjectParams> Get4Async(
global::System.Threading.Tasks.Task<global::LabelStudio.MetricParam> Get4Async(
int id,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// ✨ Get annotator weights<br/>
/// ✨ Get project metrics configuration<br/>
/// &lt;Card href="https://humansignal.com/goenterprise"&gt;<br/>
/// &lt;img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/&gt;<br/>
/// &lt;p style="margin-top: 10px; font-size: 14px;"&gt;<br/>
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)<br/>
/// &lt;/p&gt;<br/>
/// &lt;/Card&gt;<br/>
/// 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.
/// </summary>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.AutoSDKHttpResponse<global::LabelStudio.LseProjectParams>> Get4AsResponseAsync(
global::System.Threading.Tasks.Task<global::LabelStudio.AutoSDKHttpResponse<global::LabelStudio.MetricParam>> Get4AsResponseAsync(
int id,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,39 @@ namespace LabelStudio
public partial interface IProjectsClient
{
/// <summary>
/// Get project reimport status<br/>
/// Poll the status of an asynchronous project reimport operation.<br/>
/// <br/>
/// **Usage:**<br/>
/// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID<br/>
/// 2. Use that `reimport_id` with this GET endpoint to check the reimport status<br/>
/// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed<br/>
/// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request<br/>
/// <br/>
/// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.<br/>
/// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.<br/>
/// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.<br/>
///
/// ✨ Get annotator weights<br/>
/// &lt;Card href="https://humansignal.com/goenterprise"&gt;<br/>
/// &lt;img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/&gt;<br/>
/// &lt;p style="margin-top: 10px; font-size: 14px;"&gt;<br/>
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)<br/>
/// &lt;/p&gt;<br/>
/// &lt;/Card&gt;<br/>
/// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused.
/// </summary>
/// <param name="id"></param>
/// <param name="reimportPk"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.ProjectReimport> Get5Async(
global::System.Threading.Tasks.Task<global::LabelStudio.LseProjectParams> Get5Async(
int id,
int reimportPk,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get project reimport status<br/>
/// Poll the status of an asynchronous project reimport operation.<br/>
/// <br/>
/// **Usage:**<br/>
/// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID<br/>
/// 2. Use that `reimport_id` with this GET endpoint to check the reimport status<br/>
/// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed<br/>
/// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request<br/>
/// <br/>
/// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.<br/>
/// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.<br/>
/// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.<br/>
///
/// ✨ Get annotator weights<br/>
/// &lt;Card href="https://humansignal.com/goenterprise"&gt;<br/>
/// &lt;img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/&gt;<br/>
/// &lt;p style="margin-top: 10px; font-size: 14px;"&gt;<br/>
/// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)<br/>
/// &lt;/p&gt;<br/>
/// &lt;/Card&gt;<br/>
/// Retrieve the annotator weights for statistics and Cohen's Kappa for a specific project. Affects dashboard-members stats, but old and unused.
/// </summary>
/// <param name="id"></param>
/// <param name="reimportPk"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.AutoSDKHttpResponse<global::LabelStudio.ProjectReimport>> Get5AsResponseAsync(
global::System.Threading.Tasks.Task<global::LabelStudio.AutoSDKHttpResponse<global::LabelStudio.LseProjectParams>> Get5AsResponseAsync(
int id,
int reimportPk,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#nullable enable

namespace LabelStudio
{
public partial interface IProjectsClient
{
/// <summary>
/// Get project reimport status<br/>
/// Poll the status of an asynchronous project reimport operation.<br/>
/// <br/>
/// **Usage:**<br/>
/// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID<br/>
/// 2. Use that `reimport_id` with this GET endpoint to check the reimport status<br/>
/// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed<br/>
/// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request<br/>
/// <br/>
/// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.<br/>
/// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.<br/>
/// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.<br/>
///
/// </summary>
/// <param name="id"></param>
/// <param name="reimportPk"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.ProjectReimport> Get6Async(
int id,
int reimportPk,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get project reimport status<br/>
/// Poll the status of an asynchronous project reimport operation.<br/>
/// <br/>
/// **Usage:**<br/>
/// 1. When you POST to reimport tasks, you'll receive a response with a reimport ID<br/>
/// 2. Use that `reimport_id` with this GET endpoint to check the reimport status<br/>
/// 3. Poll this endpoint to see if the reimport has completed, is still processing, or has failed<br/>
/// 4. **Reimport errors and failures will only be visible in this GET response**, not in the original POST request<br/>
/// <br/>
/// This endpoint returns detailed information about the reimport including task counts, status, and any error messages.<br/>
/// While a reimport is running, `task_count` / annotation / prediction counts update as batches commit.<br/>
/// Counts are cumulative so far; there is no expected total, so percent-complete / ETA is not available from this API.<br/>
///
/// </summary>
/// <param name="id"></param>
/// <param name="reimportPk"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::LabelStudio.ApiException"></exception>
global::System.Threading.Tasks.Task<global::LabelStudio.AutoSDKHttpResponse<global::LabelStudio.ProjectReimport>> Get6AsResponseAsync(
int id,
int reimportPk,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Loading
Loading