Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 1

apiv4 returns 502

When I do  request to the apiv4 like the one above of a plus 70 repos organization, fails with error 502.

If I reduce what Im asking for, I could get the information. Is some kind of limit of the size of the answer?

 

{
  organization(login:\"%s\"){
  isVerified
  requiresTwoFactorAuthentication
  membersWithRole(first: 100) {
    edges {
      role
      node {
        id
        login
        publicKeys(first: 100) {
          totalCount
          edges {
            node {
              key
            }
          }
        }
        gists(first: 100) {
          edges {
            node {
              name
              files(limit:1) {
                encodedName
                encoding
                extension
                name
                size
                text
              }
            }
          }
        }
      }
    }
  }
  repositories(first: 100) {
    edges {
      node {
        nameWithOwner
        defaultBranchRef {
          name
        }
        branchProtectionRules(first:100) {
          edges {
            node {
              requiresApprovingReviews
              requiredApprovingReviewCount
              isAdminEnforced
              pattern
            }
          }
        }
        collaborators(affiliation:ALL) {
          edges {
            permission
            node {
              id
            }
          }
        }
      }
    }
  }
  }
}