Created
November 19, 2022 17:03
-
-
Save alsotang/e2ab594097fe2ede75364784fef46787 to your computer and use it in GitHub Desktop.
query data transfer of a domain on Cloudflare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://developers.cloudflare.com/analytics/graphql-api/ | |
{ | |
viewer { | |
zones(filter: {zoneTag: $tag}) { | |
httpRequests1dGroups(limit: 7, orderBy: [date_DESC], filter: {date_in: ["2022-11-19", "2022-11-18"]}) { | |
dimensions { | |
date | |
} | |
sum { | |
bytes | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment