diff --git a/client/src/schema/schema.ts b/client/src/schema/schema.ts index 4d987e8084b8..540cd7e31622 100644 --- a/client/src/schema/schema.ts +++ b/client/src/schema/schema.ts @@ -889,9 +889,15 @@ export interface paths { */ post: operations["create_api_metrics_post"]; }; + "/api/object_store_templates": { + /** Get a list of object store templates available to build user defined object stores from */ + get: operations["object_stores__templates_index"]; + }; "/api/object_stores": { /** Get a list of (currently only concrete) object stores configured with this Galaxy instance. */ get: operations["index_api_object_stores_get"]; + /** Create a user-bound object store. */ + post: operations["object_stores__create"]; }; "/api/object_stores/{object_store_id}": { /** Get information about a concrete object store configured with Galaxy. */ @@ -1966,6 +1972,23 @@ export interface components { /** Store Dict */ store_dict?: Record; }; + /** CreateInstancePayload */ + CreateInstancePayload: { + /** Description */ + description?: string; + /** Name */ + name: string; + /** Secrets */ + secrets: { + [key: string]: string | undefined; + }; + /** Template Id */ + template_id: string; + /** Template Version */ + template_version: number; + /** Variables */ + variables: Record; + }; /** * CreateLibrariesFromStore * @description Base model definition with common configuration used by all derived models. @@ -5825,6 +5848,59 @@ export interface components { */ up_to_date: boolean; }; + /** ObjectStoreTemplateSecret */ + ObjectStoreTemplateSecret: { + /** Help */ + help?: string; + /** Name */ + name: string; + }; + /** + * ObjectStoreTemplateSummaries + * @description Represents a collection of ObjectStoreTemplate summaries. + */ + ObjectStoreTemplateSummaries: components["schemas"]["ObjectStoreTemplateSummary"][]; + /** + * ObjectStoreTemplateSummary + * @description Version of ObjectStoreTemplate we can send to the UI/API. + * + * The configuration key in the child type may have secretes + * and shouldn't be exposed over the API - at least to non-admins. + */ + ObjectStoreTemplateSummary: { + /** Description */ + description?: string; + /** + * Hidden + * @default false + */ + hidden?: boolean; + /** Id */ + id: string; + /** Name */ + name?: string; + /** Secrets */ + secrets?: components["schemas"]["ObjectStoreTemplateSecret"][]; + /** Variables */ + variables?: components["schemas"]["ObjectStoreTemplateVariable"][]; + /** + * Version + * @default 0 + */ + version?: number; + }; + /** ObjectStoreTemplateVariable */ + ObjectStoreTemplateVariable: { + /** Help */ + help?: string; + /** Name */ + name: string; + /** + * Type + * @enum {string} + */ + type: "string" | "boolean" | "integer"; + }; /** Organization */ Organization: { /** @@ -12670,6 +12746,17 @@ export interface operations { }; }; }; + object_stores__templates_index: { + /** Get a list of object store templates available to build user defined object stores from */ + responses: { + /** @description A list of the configured object store templates. */ + 200: { + content: { + "application/json": components["schemas"]["ObjectStoreTemplateSummaries"]; + }; + }; + }; + }; index_api_object_stores_get: { /** Get a list of (currently only concrete) object stores configured with this Galaxy instance. */ parameters?: { @@ -12697,6 +12784,34 @@ export interface operations { }; }; }; + object_stores__create: { + /** Create a user-bound object store. */ + 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; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateInstancePayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + content: { + "application/json": components["schemas"]["ConcreteObjectStoreModel"]; + }; + }; + /** @description Validation Error */ + 422: { + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; show_info_api_object_stores__object_store_id__get: { /** Get information about a concrete object store configured with Galaxy. */ parameters: {