API v4 GraphQL Retrieve RepositoryInvitation?

I am probably missing something obvious but, I cannot seem to construct an equivalent GraphQL query to retrieve a list of users for a repository as seen in the version 3 API.

I have taken a look at the schema and can see the relevant type ‘RepositoryInvitation’ but I cannot seem to find the relevant fields that result in this information being retrieved from a query or specifically the query below.

{
  viewer {
    organization(login: "<name>") {
      repositories(first: 5) {
        edges {
          node {
            collaborators(first: 5) {
              edges {
                node {
                  login
                }
              }
            }
            name
          }
        }
      }
      login
    }
    login
  }
}

As of right now, there isn’t a method to retrieve the information you’re asking for via the v4 API. You’ll need to continue to use the v3 API for now.

I hope that helps!

No problem, thank you for clarifying.

The existence of the data type had me confused.

Me too.Thanks,and have a great day today!