Data Staging API Reference Guide

This document describes the Internal Data Staging API of the HEAppE Middleware.

This API is accessible only within the server where the Data Staging service (and HEAppE Middleware) is running. This interface provides SSH key for the user to use for File Transfer when the HPC Center doesn’t allow to propagate public key to .ssh/authorized_keys file (if it is possible, please use the FileTransfer API).

POST /api/DataStaging/GetFileTransferMethod

Obtain data transfer information for job.

Obtain credentials and information for ensuring job data transfer.

Status Codes:
POST /api/DataStaging/DownloadPartsOfJobFilesFromCluster

Get specific part of FileType content.

Get specific part of FileType content.<br>FileType: LogFile - 0, ProgressFile - 1, StandardErrorFile - 2, StandardOutputFile - 3.

Status Codes:
GET /api/DataStaging/ListChangedFilesForJob

Get all changed files during job execution.

Get all changed files during job execution with modification timestamp.

Query Parameters:
  • SessionCode (string) – SessionCode (Required)

  • SubmittedJobInfoId (integer) – SubmittedJobInfoId (Required)

Status Codes:
POST /api/DataStaging/DownloadFileFromCluster

Get content of file

Get content of the specific file on HPC infrastructure. Content is encoded in BASE64 format.

Status Codes: