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

Github API V4 Graphql Differnce between edge/node/node limit/rate limit

I am new to GITHUB API V4. Could some one explain a bit more explanation on the difference between

 

Edge

Node

Node Limit

Rate Limit

 

Regards

Parithiban

1 Reply
Pilot Lvl 1
Message 2 of 2

Re: Github API V4 Graphql Differnce between edge/node/node limit/rate limit

"Edge" and "Node" are part of the "Connections Pattern": https://blog.apollographql.com/explaining-graphql-connections-c48b7c3d6976

 

Node Limit and Rate Limit are well-documented by github, the gist is that a given graphql query can't retrieve too many objects (nodes) so that's your "Node Limit" (a limit per query, basically you can't get more than half a million structures per call). "Rate Limit" is a limit per hour on the account, it's the number of connections traversed to retrieve the information, divided by 100 (see the end of the page linked above, there's an example).