Skip to content

Commit

Permalink
update API scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyYakubov committed May 11, 2023
1 parent 4866ab5 commit edcf7ac
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions client/src/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,13 @@ export interface paths {
*/
get: operations["show_api_jobs__id__get"];
};
"/api/jobs/{job_id}/oidc-tokens": {
/**
* Get a fresh OIDC token
* @description Allows remote job running mechanisms to get a fresh OIDC token that can be used on remote side to authorize user. It is not meant to represent part of Galaxy's stable, user facing API
*/
get: operations["get_token_api_jobs__job_id__oidc_tokens_get"];
};
"/api/libraries": {
/**
* Returns a list of summary data for all libraries.
Expand Down Expand Up @@ -12337,6 +12344,41 @@ export interface operations {
};
};
};
get_token_api_jobs__job_id__oidc_tokens_get: {
/**
* Get a fresh OIDC token
* @description Allows remote job running mechanisms to get a fresh OIDC token that can be used on remote side to authorize user. It is not meant to represent part of Galaxy's stable, user facing API
*/
parameters: {
/** @description A key used to authenticate this request as acting onbehalf or a job runner for the specified job */
/** @description OIDC provider name */
query: {
job_key: string;
provider: string;
};
/** @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;
};
path: {
job_id: string;
};
};
responses: {
/** @description Successful Response */
200: {
content: {
"text/plain": string;
};
};
/** @description Validation Error */
422: {
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
index_api_libraries_get: {
/**
* Returns a list of summary data for all libraries.
Expand Down

0 comments on commit edcf7ac

Please sign in to comment.