Skip to content

Commit

Permalink
Rebuild schema for object store APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Apr 14, 2023
1 parent 7d8b7af commit 86981a8
Showing 1 changed file with 115 additions and 0 deletions.
115 changes: 115 additions & 0 deletions client/src/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -1966,6 +1972,23 @@ export interface components {
/** Store Dict */
store_dict?: Record<string, never>;
};
/** 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<string, never>;
};
/**
* CreateLibrariesFromStore
* @description Base model definition with common configuration used by all derived models.
Expand Down Expand Up @@ -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: {
/**
Expand Down Expand Up @@ -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?: {
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 86981a8

Please sign in to comment.