07.download-original
- Back
- 00.overview.md
-
01.admin
- 00.overview.md
-
01.auth
-
02.user-management
-
03.group-management
-
04.announcement-management
-
05.guide-management
-
02.general
- 00.overview.md
-
01.analysis
-
02.auth
-
03.chat
-
04.checkout
-
05.packages
-
06.wishlist
- 00.overview.md
-
01.temp-wishlist-to-group
-
02.wishlist-to-group
-
07.file-storage
-
08.unique-product-upload
-
09.dataset-workflow
-
10.landing-page
-
11.download-review-csv
-
03.widget
Download Original Uploaded File
Overview Description
Download the original uploaded file associated with a specific upload history entry in Google Cloud Storage.
Activity Diagram
---
config:
theme: base
layout: dagre
flowchart:
curve: linear
htmlLabels: true
themeVariables:
edgeLabelBackground: "transparent"
---
flowchart TB
Client[Client]
Controller[UploadGcsController]
Storage[(GCS)]
Client --- Step1[
<div style='text-align: center'>
<span style='display: inline-block; background-color: #6699cc !important; color:white; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; font-weight: bold'>1</span>
<p style='margin-top: 8px'>GET original</p>
</div>
]
Step1 --> Controller
Controller --> Storage
Storage --> Controller
Controller --> Client
Swagger Link
API Endpoint
- Method: GET
- Path:
/api/v1/general/upload-file/gcs/histories/{id}/download-original - Auth: Required (General)
Parameters
id(path): Upload history ID
Responses
- 200: File stream
- 404: History not found
- 403: Unauthorized
Additional Notes
- Response is a streamed binary; set correct headers on client to save file