You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bitstreams.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,49 @@ The supported **Request Headers** are:
117
117
* Range: not implemented yet. Provide support to partial content download
118
118
* If-None-Match: not implemented yet. Support for cache control
119
119
120
+
### Presigned URL
121
+
122
+
**GET /api/core/bitstreams/<:uuid>/signedurl**
123
+
124
+
This endpoint returns a presigned URL that allows direct, temporary access to the bitstream content stored in the configured storage backend (e.g., S3). Clients can use this URL to download the bitstream without passing through the DSpace server, improving performance and offloading bandwidth.
125
+
126
+
#### Security
127
+
128
+
- Requires READ permission on the specified bitstream (`hasPermission(#uuid, 'BITSTREAM','READ')`).
129
+
130
+
131
+
#### Response
132
+
133
+
A JSON object containing:
134
+
135
+
-`presignedUrl`: The generated presigned URL granting temporary access.
136
+
-`bitstreamId`: The UUID of the bitstream.
137
+
-`filename`: The user-friendly name of the bitstream (if available).
0 commit comments