Skip to content

Commit

Permalink
build: include query parameter names when generating endpoints.json
Browse files Browse the repository at this point in the history
This updates our GraphQL query so we generate an `endpoints.json`
file with the names of supported query parameters for each
endpoint.

We can use this to identify endpoints which support pagination
by looking for the `per_page` parameter.
  • Loading branch information
timrogers committed Jun 30, 2022
1 parent 3e38fbf commit 7252458
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/update-endpoints/fetch-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ const QUERY = `
code
schema
}
parameters {
name
}
}
}
`;
Expand Down

0 comments on commit 7252458

Please sign in to comment.