REST API Reference Guide

This document describes the REST API of the HEAppE Middleware.

Live API documentation: Swagger UI

GET /heappe/ClusterInformation/ListAvailableClusters

Get available clusters

Status Codes:
POST /heappe/ClusterInformation/RequestCommandTemplateParametersName

Get command template parameters name

Status Codes:
GET /heappe/ClusterInformation/CurrentClusterNodeUsage

Get actual cluster node usage

Query Parameters:
  • sessionCode (string) – Session code

  • clusterNodeId (integer) – ClusterNode ID

  • projectId (integer) – Project ID

Status Codes:
POST /heappe/DataTransfer/RequestDataTransfer

Create Data Transfer

Status Codes:
POST /heappe/DataTransfer/CloseDataTransfer

CLose Data Transfer

Status Codes:
POST /heappe/DataTransfer/HttpGetToJobNode

Send HTTP GET to Job node

Status Codes:
POST /heappe/DataTransfer/HttpPostToJobNode

Send HTTP POST to Job node

Status Codes:
POST /heappe/FileTransfer/RequestFileTransfer

Create file transfer tunnel

Status Codes:
POST /heappe/FileTransfer/CloseFileTransfer

Close file transfer tunnel

Status Codes:
POST /heappe/FileTransfer/DownloadPartsOfJobFilesFromCluster

Download part of job files from Cluster

Status Codes:
GET /heappe/FileTransfer/ListChangedFilesForJob

Get all changes files during job execution

Query Parameters:
  • sessionCode (string) – Session code

  • submittedJobInfoId (integer) – SubmittedJobInfo ID

Status Codes:
POST /heappe/FileTransfer/DownloadFileFromCluster

Download specific file from Cluster

Status Codes:
POST /heappe/JobManagement/CreateJob

Create job specification

Status Codes:
PUT /heappe/JobManagement/SubmitJob

Submit job

Status Codes:
PUT /heappe/JobManagement/CancelJob

Cancel job

Status Codes:
DELETE /heappe/JobManagement/DeleteJob

Delete job

Status Codes:
GET /heappe/JobManagement/ListJobsForCurrentUser

Get all jobs for user

Query Parameters:
  • sessionCode (string) – Session code

Status Codes:
GET /heappe/JobManagement/CurrentInfoForJob

Get current info for job

Query Parameters:
  • sessionCode (string) – Session code

  • submittedJobInfoId (integer) – SubmittedJobInfo ID

Status Codes:
POST /heappe/JobManagement/CopyJobDataToTemp

Copy job data to temp folder

Status Codes:
POST /heappe/JobManagement/CopyJobDataFromTemp

Copy job data from temp folder

Status Codes:
GET /heappe/JobManagement/AllocatedNodesIPs

Get Allocated Nodes IPs

Query Parameters:
  • sessionCode (string) – Session code

  • submittedTaskInfoId (integer) – SubmittedTaskInfo ID

Status Codes:
GET /heappe/JobReporting/ListAdaptorUserGroups

Get user groups

Query Parameters:
  • sessionCode (string) – Session code

Status Codes:
GET /heappe/JobReporting/UserResourceUsageReport

Get resource usage report for user

Query Parameters:
  • userId (integer) – User ID

  • startTime (string) – StartTime

  • endTime (string) – EndTime

  • sessionCode (string) – SessionCode

Status Codes:
GET /heappe/JobReporting/UserGroupResourceUsageReport

Get resource usage for user group

Query Parameters:
  • groupId (integer) – Group ID

  • startTime (string) – StartTime

  • endTime (string) – EndTime

  • sessionCode (string) – SessionCode

Status Codes:
GET /heappe/JobReporting/AggregatedUserGroupResourceUsageReport

Get aggregated resource report usage for user groups

Query Parameters:
  • startTime (string)

  • endTime (string)

  • sessionCode (string)

Status Codes:
GET /heappe/JobReporting/ResourceUsageReportForJob

Get resource usage for executed job

Query Parameters:
  • sessionCode (string) – Session code

  • jobId (integer) – Job ID

Status Codes:
GET /heappe/JobReporting/JobsStateAgregationReport

Get job state aggregation report

Query Parameters:
  • sessionCode (string) – Session code

Status Codes:
GET /heappe/JobReporting/JobsDetailedReport

Get job detailed report

Query Parameters:
  • sessionCode (string) – Session code

Status Codes:
GET /heappe/Management/InstanceInformation

Get HEAppE Information

Query Parameters:
  • sessionCode (string) – SessionCode

Status Codes:
GET /heappe/Management/VersionInformation

Get HEAppE Version Information

Query Parameters:
  • sessionCode (string) – SessionCode

Status Codes:
GET /heappe/Management/CommandTemplate

List Command Template

Query Parameters:
  • sessionCode (string)

  • id (integer)

Status Codes:
POST /heappe/Management/CommandTemplate

Create Static Command Template

Status Codes:
PUT /heappe/Management/CommandTemplate

Modify Static Command Template

Status Codes:
GET /heappe/Management/CommandTemplates

List Command Templates

Query Parameters:
  • sessionCode (string)

  • projectId (integer)

Status Codes:
POST /heappe/Management/CommandTemplateFromGeneric

Create Command Template from Generic Command Template

Status Codes:
PUT /heappe/Management/CommandTemplateFromGeneric

Modify Command Template based on Generic Command Template

Status Codes:
DELETE /heappe/Management/RemoveCommandTemplate

Remove Command Template

Status Codes:
POST /heappe/Management/CommandTemplateParameter

Create Static Command Template

Status Codes:
PUT /heappe/Management/CommandTemplateParameter

Modify Static Command Template

Status Codes:
DELETE /heappe/Management/CommandTemplateParameter

Remove Static Command Template

Status Codes:
POST /heappe/Management/Project

Create project

Status Codes:
PUT /heappe/Management/Project

Modify project

Status Codes:
DELETE /heappe/Management/Project

Remove project

Status Codes:
POST /heappe/Management/ProjectAssignmentToCluster

Assign project to the cluster

Status Codes:
PUT /heappe/Management/ProjectAssignmentToCluster

Modify project assignment to the cluster

Status Codes:
DELETE /heappe/Management/ProjectAssignmentToCluster

Remove project assignment to the cluster

Status Codes:
POST /heappe/Management/SecureShellKey

Generate SSH key

Status Codes:
PUT /heappe/Management/SecureShellKey

Regenerate SSH key

Status Codes:
DELETE /heappe/Management/SecureShellKey

Remove SSH key

Status Codes:
POST /heappe/Management/GenerateSecureShellKey

Generate SSH key

Status Codes:
PUT /heappe/Management/RegenerateSecureShellKey

Regenerate SSH key

Status Codes:
DELETE /heappe/Management/RemoveSecureShellKey

Remove SSH key

Status Codes:
POST /heappe/Management/InitializeClusterScriptDirectory

Initialize cluster script directory for SSH HPC Account

Status Codes:
POST /heappe/Management/TestClusterAccessForAccount

Test cluster access for robot account

Status Codes:
GET /heappe/Management/TestClusterAccessForAccount

Test cluster access for robot account

Query Parameters:
  • username (string)

  • projectId (integer)

  • sessionCode (string)

Status Codes:
POST /heappe/UserAndLimitationManagement/AuthenticateLexisToken

Provide user authentication via OpenId token.

Status Codes:
POST /heappe/UserAndLimitationManagement/AuthenticateUserOpenId

Provide user authentication via OpenId token.

Status Codes:
POST /heappe/UserAndLimitationManagement/AuthenticateUserOpenStack

Provide user authentication to OpenStack.

Status Codes:
POST /heappe/UserAndLimitationManagement/AuthenticateUserPassword

Provide user authentication

Status Codes:
POST /heappe/UserAndLimitationManagement/AuthenticateUserDigitalSignature

Provide user authentication

Status Codes:
GET /heappe/UserAndLimitationManagement/CurrentUsageAndLimitationsForCurrentUser

Get current resource usage

Query Parameters:
  • sessionCode (string) – Session code

Status Codes:
GET /heappe/UserAndLimitationManagement/ProjectsForCurrentUser

Get projects for current user

Query Parameters:
  • sessionCode (string)

Status Codes: