From 28a2747a4973e498442d8196eee22f688d9628d8 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 | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index c66cb4c0675d..b9e6790036c6 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -1691,6 +1691,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"]; @@ -10928,6 +10932,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: { /** @@ -20917,6 +20928,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: {