Does Mutation Response Data Count As Query Points in GitHub GraphQL API?
I’m trying to understand GitHub’s GraphQL API, and I’m wondering if the response for a mutation request counts towards GitHub’s rate limitations? According to the Secondary Rate Limitations, mutation requests count as 5 points and non-mutation requests (so query requests?) as 1 point. GraphQL requests are alotted 2000 points. I’d like to know if, for example, the following request would count as 5 points or 6 points.
mutation addIssue($input: CreateIssueInput!) {
createIssue(input: $input) {
issue {
id
}
}
}
I’m new to GraphQL in general, and welcome any feedback.
Read more here: Source link
