From 5bbbd04f4b18f296441ab4a04ec0f3bec5eb75a6 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 19 Feb 2024 14:35:09 -0500 Subject: [PATCH] Rebuild schema. --- client/src/api/schema/schema.ts | 160 ++++++++++++++++++++++++++++++++ 1 file changed, 160 insertions(+) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 8865c361e282..cbed1a54e0b8 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -132,6 +132,18 @@ export interface paths { * To get more information please check the source code. */ get: operations["show_api_datasets__dataset_id__get"]; + /** + * Updates the values for the history dataset (HDA) item with the given ``ID``. + * @description Updates the values for the history content item with the given ``ID``. + */ + put: operations["datasets__update_dataset"]; + /** + * Delete the history dataset content with the given ``ID``. + * @description Delete the history content with the given ``ID`` and path specified type. + * + * **Note**: Currently does not stop any active jobs for which this dataset is an output. + */ + delete: operations["datasets__delete"]; }; "/api/datasets/{dataset_id}/content/{content_type}": { /** Retrieve information about the content of a dataset. */ @@ -1705,6 +1717,10 @@ export interface paths { /** Remove the object from user's favorites */ delete: operations["remove_favorite_api_users__user_id__favorites__object_type___object_id__delete"]; }; + "/api/users/{user_id}/objectstore_usage": { + /** Return the user's object store usage summary broken down by object store ID */ + get: operations["get_user_objectstore_usage_api_users__user_id__objectstore_usage_get"]; + }; "/api/users/{user_id}/recalculate_disk_usage": { /** Triggers a recalculation of the current user disk usage. */ put: operations["recalculate_disk_usage_by_user_id_api_users__user_id__recalculate_disk_usage_put"]; @@ -12459,6 +12475,13 @@ export interface components { */ notification_ids: string[]; }; + /** UserObjectstoreUsage */ + UserObjectstoreUsage: { + /** Object Store Id */ + object_store_id: string; + /** Total Disk Usage */ + total_disk_usage: number; + }; /** UserQuota */ UserQuota: { /** @@ -13599,6 +13622,116 @@ export interface operations { }; }; }; + datasets__update_dataset: { + /** + * Updates the values for the history dataset (HDA) item with the given ``ID``. + * @description Updates the values for the history content item with the given ``ID``. + */ + parameters: { + /** @description View to be passed to the serializer */ + /** @description Comma-separated list of keys to be passed to the serializer */ + query?: { + view?: string | null; + keys?: string | null; + }; + /** @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 item (`HDA`/`HDCA`) */ + path: { + dataset_id: string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateHistoryContentsPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + content: { + "application/json": + | components["schemas"]["HDACustom"] + | components["schemas"]["HDADetailed"] + | components["schemas"]["HDASummary"] + | components["schemas"]["HDCADetailed"] + | components["schemas"]["HDCASummary"]; + }; + }; + /** @description Validation Error */ + 422: { + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; + datasets__delete: { + /** + * Delete the history dataset content with the given ``ID``. + * @description Delete the history content with the given ``ID`` and path specified type. + * + * **Note**: Currently does not stop any active jobs for which this dataset is an output. + */ + parameters: { + /** + * @deprecated + * @description Whether to remove from disk the target HDA or child HDAs of the target HDCA. + */ + /** + * @deprecated + * @description When deleting a dataset collection, whether to also delete containing datasets. + */ + /** + * @deprecated + * @description Whether to stop the creating job if all outputs of the job have been deleted. + */ + /** @description View to be passed to the serializer */ + /** @description Comma-separated list of keys to be passed to the serializer */ + query?: { + purge?: boolean | null; + recursive?: boolean | null; + stop_job?: boolean | null; + view?: string | null; + keys?: string | null; + }; + /** @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 item (`HDA`/`HDCA`) */ + path: { + dataset_id: string; + }; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["DeleteHistoryContentPayload"]; + }; + }; + responses: { + /** @description Request has been executed. */ + 200: { + content: { + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Request accepted, processing will finish later. */ + 202: { + content: { + "application/json": components["schemas"]["DeleteHistoryContentResult"]; + }; + }; + /** @description Validation Error */ + 422: { + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; get_structured_content_api_datasets__dataset_id__content__content_type__get: { /** Retrieve information about the content of a dataset. */ parameters: { @@ -22575,6 +22708,33 @@ export interface operations { }; }; }; + get_user_objectstore_usage_api_users__user_id__objectstore_usage_get: { + /** Return the user's object store usage summary broken down by object store ID */ + 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 user to get or 'current'. */ + path: { + user_id: string | "current"; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + content: { + "application/json": components["schemas"]["UserObjectstoreUsage"][]; + }; + }; + /** @description Validation Error */ + 422: { + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; recalculate_disk_usage_by_user_id_api_users__user_id__recalculate_disk_usage_put: { /** Triggers a recalculation of the current user disk usage. */ parameters: {