How to find the Build Bundles ID with Appstore Connect APIs

Viewed 71
1 Answers

I found the solution.

first

you need get the builds detail from https://developer.apple.com/documentation/appstoreconnectapi/list_builds

and the most important is the parameters "include": "buildBundles"

the you can find the response include buildBundleFileSizes links

"buildBundleFileSizes": {
                "links": {
                    "self": "https://api.appstoreconnect.apple.com/v1/buildBundles/{buildBundles id}/relationships/buildBundleFileSizes",
                    "related": "https://api.appstoreconnect.apple.com/v1/buildBundles/{buildBundles id}/buildBundleFileSizes"
                }
            }

then

you can visit the links, get the binary size.

Related