Media Library
Request a pre-signed upload URL
Changed onRate limit: 20 requests / minute per shop. See Rate limiting.
Returns a pre-signed upload URL for uploading a new image. After receiving the response, PUT the image bytes directly to the uploadUrl.
post/open-api/v1.0/media/upload-url
Request
- Base URLhttps://api.fourthwall.com
- URLhttps://api.fourthwall.com/open-api/v1.0/media/upload-url
- Auth
- OAuth 2Implicit: https://auth.staging.fourthwall.com/auth/realms/Fourthwall/protocol/openid-connect/authScopes: media_write
- or HTTP basic
Request body
Example request
{
"fileName": "artwork.png",
"contentType": "image/png",
"size": 1048576
}Response
Created
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status
- info