Setup the initial API. The API should include
POST /saveFile
-Takes a file in the request and saves it in persistent storage
-Request contains the path for the file record (eg. '/courseid/assignmentid/userid/submissionid') and the contents of the file
GET /retrieveFile/:file-record-path
-Returns the requested file
GET /list
-Returns a list of all fileRecordPaths available in storage
GET /metadata/:file-record-path
-Returns metadata about the requested record
-Metadata includes: file size, createdAt, updatedAt, path on disk, file record name, file type
Setup the initial API. The API should include
POST /saveFile
-Takes a file in the request and saves it in persistent storage
-Request contains the path for the file record (eg. '/courseid/assignmentid/userid/submissionid') and the contents of the file
GET /retrieveFile/:file-record-path
-Returns the requested file
GET /list
-Returns a list of all fileRecordPaths available in storage
GET /metadata/:file-record-path
-Returns metadata about the requested record
-Metadata includes: file size, createdAt, updatedAt, path on disk, file record name, file type