Open xperseguers opened 3 years ago
Example query:
query {
viewer {
zones(filter:{zoneTag:"<REDACTED>"}) {
httpRequests1dGroups(
orderBy: [date_ASC]
limit: 1000
filter: { date_gt: "2021-05-01" }
) {
date: dimensions {
date
}
sum {
cachedBytes
bytes
}
}
}
}
}
Possible library to use (if not willing to write in raw cURL): https://github.com/mghoneimy/php-graphql-client
When using Bearer Authentication, the statistics module fails to show graphs. The API calls fails with an error: