Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Setup #1

Open
jessehartloff opened this issue Jul 22, 2021 · 0 comments
Open

Initial Setup #1

jessehartloff opened this issue Jul 22, 2021 · 0 comments

Comments

@jessehartloff
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant