Serve an Uploaded File
GET/file-svc/serve/upload/:fileId
Retrieves and serves a previously uploaded file using its File ID.
Note: The ID
and FileID
fields of an upload are different.
FileID
is a unique identifier for the file itself.ID
is a unique identifier for a specific replica of the file. Since OpenOrch is a distributed system, files can be replicated across multiple nodes. This means each uploaded file may have multiple records with the sameFileID
but differentID
s.
Request
Responses
- 200
- 400
- 404
- 500
File served successfully
Missing upload ID
File not found
Internal Server Error