1query BranchesForProject(
2  $appId: String!
3  $platform: AppPlatform!
4  $runtimeVersions: [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(
30          limit: 1
31          offset: 0
32          filter: { platform: $platform, runtimeVersions: $runtimeVersions }
33        ) {
34          id
35          group
36          message
37          createdAt
38          runtimeVersion
39          platform
40          manifestPermalink
41        }
42      }
43    }
44  }
45}
46