From 2238ee7a96eba479982e9cec127bca0f6ab97ff3 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Fri, 19 Jan 2024 12:53:56 -0500 Subject: [PATCH] Rebuild schema. --- client/src/api/schema/schema.ts | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 3d737e261904..988e40a390f8 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. @@ -2902,6 +2906,8 @@ export interface components { badges: components["schemas"]["BadgeDict"][]; /** Description */ description?: string | null; + /** Device */ + device?: string | null; /** Name */ name?: string | null; /** Object Store Id */ @@ -10569,6 +10575,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: { /** @@ -12186,6 +12200,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.