diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 8535853d0e57..b037de899d31 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -171,6 +171,10 @@ export interface paths { */ get: operations["get_metrics_api_datasets__dataset_id__metrics_get"]; }; + "/api/datasets/{dataset_id}/object_store_id": { + /** Update an object store ID for a dataset you own. */ + put: operations["datasets__update_object_store_id"]; + }; "/api/datasets/{dataset_id}/parameters_display": { /** * Resolve parameters as a list for nested display. @@ -2910,6 +2914,8 @@ export interface components { badges: components["schemas"]["BadgeDict"][]; /** Description */ description?: string | null; + /** Device */ + device?: string | null; /** Name */ name?: string | null; /** Object Store Id */ @@ -10609,6 +10615,14 @@ export interface components { */ synopsis?: string | null; }; + /** UpdateObjectStoreIdPayload */ + UpdateObjectStoreIdPayload: { + /** + * Object Store Id + * @description Object store ID to update to, it must be an object store with the same device ID as the target dataset currently. + */ + object_store_id: string; + }; /** UpdateQuotaParams */ UpdateQuotaParams: { /** @@ -12226,6 +12240,38 @@ export interface operations { }; }; }; + datasets__update_object_store_id: { + /** Update an object store ID for a dataset you own. */ + parameters: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + header?: { + "run-as"?: string | null; + }; + /** @description The ID of the History Dataset. */ + path: { + dataset_id: string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateObjectStoreIdPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + content: { + "application/json": Record; + }; + }; + /** @description Validation Error */ + 422: { + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; resolve_parameters_display_api_datasets__dataset_id__parameters_display_get: { /** * Resolve parameters as a list for nested display.