Post: File Ingestion

Endpoint: /pyspark_data_ingestion/ingest/file

Streams large files into the system by saving them to a user-specified container path.

Input Parameters:

  • container_path (string, optional): Filesystem path where the uploaded file should be saved
          • Default value: /home/aionuser/mountpoint/HCLT/data/storage/dataset
  • file (binary, required): File to be streamed into the storage location

Output:

Returns a JSON response confirming successful file ingestion or providing relevant error messages.

A screenshot of a computer AI-generated content may be incorrect.