File Upload
Upload files required for app submission or for updating an app using the Content Publish API.
The fileKey
in this response is used in the modify app data request.
Refer to App Registration - Information on app-related image/video registration for image file requirements.
NoteThe base URL for this API is different from the rest of the APIs on this page (https://seller.samsungapps.com/galaxyapi/ instead of https://devapi.samsungapps.com/seller/).
Request
POST /galaxyapi/fileUpload
Name | Type | In | Description |
---|---|---|---|
file | string | body | Required. File to upload, such as a binary file, image (icon, cover image, or screenshot), or zip file (game industry age rating certificates or other reference information needed for app review), and type of file. |
sessionId | string | body | Required. Unique ID generated by createUploadSessionId. |
curl -i -X POST \
-H "Content-Type:multipart/form-data" \
-H "Authorization: Bearer <your-access-token>" \
-H "service-account-id: <your-service-account-id>" \
-F "file=@\"./ICON_512x512.png\";type=image/png;filename=\"ICON_512x512.png\"" \
-F "sessionId=d7ca6869-128e-4bfb-a56d-674d77f08848" \
"https://seller.samsungapps.com/galaxyapi/fileUpload"
Response
Success
Status: 200 Success
{
"fileKey": "5d33cb93-b399-41c0-9c41-667946736d09",
"fileName": "ICON_512x512.png",
"fileSize": "86265",
"errorCode": null,
"errorMsg": null
}
See Failure response codes for a list of possible response codes when a request fails.