@maap-jupyterlab/dps-jupyter-extension
Version:
A JupyterLab extension for submitting and viewing jobs.
20 lines (19 loc) • 1.04 kB
TypeScript
/**
* Call the API extension
*
* @param endPoint API REST end point for the extension
* @param init Initial values for the request
* @returns The response body interpreted as JSON
*/
export declare function requestAPI<T>(endPoint?: string, init?: RequestInit): Promise<T>;
export declare function getJobs(username: string): Promise<any>;
export declare function getAlgorithms(inputValue: any, callback: any): Promise<any[]>;
export declare function describeAlgorithms(algo_id: string): Promise<any>;
export declare function getJobStatus(job_id: string): Promise<string>;
export declare function getCMRCollections(): Promise<any[]>;
export declare function submitJob(data: any): Promise<any>;
export declare function getResources(inputValue: any, callback: any): Promise<any[]>;
export declare function getJobResult(job_id: any): Promise<any>;
export declare function getJobMetrics(job_id: any): Promise<any>;
export declare function getUserJobs(username: any): Promise<any>;
export declare function getEnvironmentInfo(): Promise<any>;