request URL:https://api.appstoreconnect.apple.com/v1/appScreenshots
request body: {
"data": {
"type": "appScreenshots",
"attributes": {
"fileSize": 11097,
"fileName": "my_screenshot.png"
},
"relationships": {
"appScreenshotSet": {
"data": {
"type": "appScreenshotSets",
"id": "54594240-5c4c-4a0f-add1-b4cb7e52d166"
}
}
}
}
}
response:
{
"errors": [
{
"id": "9523fce2-5ca3-407e-8829-fd57f2011caa",
"status": "409",
"code": "ENTITY_ERROR.RELATIONSHIP.INVALID",
"title": "The provided entity includes a relationship with an invalid value",
"detail": "appScreenshotSets doesn't exist!!",
"source": {
"pointer": "/data/relationships/appScreenshotSet"
}
}
]
}
Post
Replies
Boosts
Views
Activity
interface response is below
"attributes" : {
"fileSize" : 11097,
"fileName" : "my_screenshot.png",
"sourceFileChecksum" : null,
"imageAsset" : null,
"assetToken" : "PurpleSource62/v4/c4/c6/5f/c4c65fe0-b616-0454-d71b-7771b95f74f1/4d62262c-4ec1-4d89-b82c-c7b7a402e866_null_54594240-5c4c-4a0f-add1-b4cb7e52d166_my_screenshot.png",
"assetType" : "SCREENSHOT",
"uploadOperations" : [ {
"method" : "PUT",
"url" : "https://store-030.blobstore.apple.com/itms6-assets-massilia-030001/PurpleSource62%2Fv4%2Fc4%2Fc6%2F5f%2Fc4c65fe0-b616-0454-d71b-7771b95f74f1%2FgzsRhfc7iZIvrJoG3mdTlRGfH-Hu1JJBY_Y82m_QlKU_U003d-1587670858469?uploadId=5ae7a610-859a-11ea-adb0-d8c497b45469&Signature=nL9SQyAh4l1tEwoWQhiflX270Zs%3D&AWSAccessKeyId=MKIA4IEXBU1OGIOUHE96&partNumber=1&Expires=1588275658",
"length" : 11097,
"offset" : 0,
"requestHeaders" : [ {
"name" : "Content-Type",
"value" : "image/png"
} ]
}
problem is how to upload