Aim
Endpoint to get the Signed URL to upload or download files to/from Startbahn’s GCS. Re-uploading to IPFS will be taken care automatically for applicable files.
Permissions
- You need to have a Licensed User
- You need to have an API Key
HTTP Host Name
<aside>
đź’ˇ Please note that we have /port
after the domain.
</aside>
Swagger Docs
Endpoint
HTTPS POST: /api/v1/commerce/signedUrls
Request Headers
Header
Content-Type: application/json
accept: application/json
Request Body
- Content Specification
- Content Example
Response Codes
- 201: The API responds with 201 when the signed URL is created. The validity of the signed URL is 15 minutes after it is created.
- The client’s back-end needs to consider its upload speed. If the files that need to be uploaded are many, client’s back-end may consider splitting the signed URL request to ensure that all of the files are uploaded.
- 400: The API responds with 400 if the request body is invalid.
- 5xx: The API responds with 500 if there is an issue between the network and also storage provider, currently it is Google Cloud Storage.