1query BranchesForProject(
2  $appId: String!
3  $platform: AppPlatform!
4  $sdkVersions: [String!]!
5  $limit: Int!
6  $offset: Int!
7) {
8  app {
9    byId(appId: $appId) {
10      id
11      name
12      slug
13      fullName
14      username
15      published
16      description
17      githubUrl
18      playStoreUrl
19      appStoreUrl
20      sdkVersion
21      iconUrl
22      privacy
23      icon {
24        url
25      }
26      updateBranches(limit: $limit, offset: $offset) {
27        id
28        name
29        updates(limit: 1, offset: 0, filter: { platform: $platform, sdkVersions: $sdkVersions }) {
30          id
31          group
32          message
33          createdAt
34          runtimeVersion
35          platform
36          manifestPermalink
37        }
38      }
39    }
40  }
41}
42