Thank you for your answer.
Basically, I just want to upload the pictures I take with my app. So the Flow processes the file, uploads it via the API I call and in the response message we get the data of the uploaded image. Here is a screenshot:
It works fine, I just can't get the response data back into my App. I have also to tried to set the Schema of the JSON body to type of array (instead of object) and Collect the response into a Collection, so it looks like this:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {},
"description": {},
"datetime": {
"type": "integer"
},
"type": {
"type": "string"
},
"animated": {
"type": "boolean"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"size": {
"type": "integer"
},
"views": {
"type": "integer"
},
"bandwidth": {
"type": "integer"
},
"vote": {},
"favorite": {
"type": "boolean"
},
"nsfw": {},
"section": {},
"account_url": {},
"account_id": {
"type": "integer"
},
"is_ad": {
"type": "boolean"
},
"in_most_viral": {
"type": "boolean"
},
"has_sound": {
"type": "boolean"
},
"tags": {
"type": "array"
},
"ad_type": {
"type": "integer"
},
"ad_url": {
"type": "string"
},
"edited": {
"type": "string"
},
"in_gallery": {
"type": "boolean"
},
"deletehash": {
"type": "string"
},
"name": {
"type": "string"
},
"link": {
"type": "string"
}
}
},
"success": {
"type": "boolean"
},
"status": {
"type": "integer"
}
}
So my Flow ends with the response data like this:
{
"data": {
"id": "dfgdfh",
"title": null,
"description": null,
"datetime": 1341455,
"type": "image/png",
"animated": false,
"width": 640,
"height": 480,
"size": 389202,
"views": 0,
"bandwidth": 0,
"vote": null,
"favorite": false,
"nsfw": null,
"section": null,
"account_url": null,
"account_id": 0,
"is_ad": false,
"in_most_viral": false,
"has_sound": false,
"tags": [],
"ad_type": 0,
"ad_url": "",
"edited": "0",
"in_gallery": false,
"deletehash": "4wz",
"name": "",
"link": "https://i.imgur.com/xxxxx.png"
},
"success": true,
"status": 200
}
And I got the properties in my new Power Apps colelction, but it seems like an empty array: