Upload File to S3
DevelopingGET
https://s3.eu-west-1.amazonaws.com/private.zid.storeThe "Upload File to S3" endpoint provides a pre-signed URL for secure, temporary access to upload files directly to Amazon S3 storage. This enables clients to upload files without needing direct S3 credentials, ensuring secure and efficient file handling for digital assets.
Request
Specifies the hostname of the server to which the request is being sent. This is usually calculated automatically by the client (e.g., Postman or a browser) based on the URL.
The User-Agent header contains information about the user agent (browser or app) making the request. It allows the server to provide a tailored response depending on the user agent's capabilities and preferences.
Specifies the Media Types acceptable for the client. In this case, it signals that the client expects a response in the JSON format.
Lists the encoding algorithms that the client can handle, such as gzip, deflate, and br (Brotli). This allows the server to compress the response to save bandwidth.
Controls whether the network connection stays open after the current transaction. keep-alive indicates the client would like to keep the connection open for potential additional requests.
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
The path within S3 where the uploaded file will be stored. It includes a unique identifier to prevent overwriting, typically organized by product type and ID.
The AWS access key ID needed for authenticated access to the S3 bucket, providing permission to upload the file.
A Base64-encoded policy document that outlines the conditions and permissions for the upload request, including expiration time and allowed content length.
An encrypted signature generated from the policy to verify that the upload request complies with the specified conditions.
The file to be uploaded to S3. It is sent as binary data in the request body, enabling direct transfer to the specified storage location.
Request samples
Responses
{}