App Name: Zattoo
App Link on Amazon Appstore Zattoo - TV Streaming
Hello,
I am using the Amazon App Submission API to programmatically fetch information about our app versions across different platforms.
I’ve encountered multiple problems when working with VegaOS (VPKG) binaries through the API.
When calling GET /api/appstore/v1/applications/{appId}/edits/{editId}/apks, I receive three binaries listed:
[
{"versionCode": ***** "id": "*****", "name": "*****"},
{"versionCode": *****, "id": "*****", "name": "*****"},
{"versionCode": *****, "id": "STAGING_*****", "name": "VPKG1"}
]
(***** are actual values hidden for security reasons)
Those 3 listed versions corresponds to our Android, FireOS and VegaOS builds respectively.
Based on this context, I am trying to find a way to identify to what platform corresponds to each listed version. For that I am I found the targeting API GET /api/appstore/v1/applications/{appId}/edits/{editId}/apks/{apkId}/targeting
However, even though it works for Android and FireOS this endpoint returns 404 when called with the id of our VegaOS application
Some questions from all this journey:
- STAGING id prefix: Why does the VegaOS id include “STAGING_” even though it’s published in production? Is this expected behavior or a bug?
- VegaOS name: Why is the name of VegaOS builds always set to “VPKG1” even though the manifest.toml file includes a proper “version” value with the name of this version ? is there a different property we should be setting to set this name? In contrast to APKs, the web interface of Amazon Dev Console always presents the rename button disabled for VPKGs.
- Production information: All this endpoints are providing data for the next Upcoming release (version in edit). Is there a way to get this kind of information from the actual published versions?