API Reference (hyper cloud)
Storage API
Get Object
6min
Retrieves an object from a storage service bucket
- appname - string - the name of your hyper cloud application.
- bucket - string - the name of your hyper cloud service.
-
- object - string - the path to the object to access
-
- No Request Body required
ReadbleStream with hyper-connect on Node?
hyper-connect's storage.download returns a Web ReadableStream. Starting with Node 17, Node provides toWeb and fromWeb apis to converts NodeJS.ReadableStream to Web ReadableStream
Example
Status | Description | Example |
200 | OK | {ok: true, object: <ReadableStream>} |
404 | Not Found | {"ok": false, "msg": "Not Found"} |
500 | Error | {"ok": false, "msg": "Error"} |
Need Help?
You can always reach out to our support team for any additional assistance on slack.
Updated 20 Nov 2023
Did this page help you?