Yes. The data is quite long, so I just fetched the front part.
Here’s the full Response.
[Full query]
const GET_SEGMENTLOG_FROM_HISTORY = gql query { segmentHistory (){ pageInfo { hasNextPage hasPreviousPage endCursor startCursor } nodes { timestamp segment { id forbidFull disabled speedRatio startNodeId endNodeId length } } } }
;
[Full Response JSON]
{“data”:{“segmentHistory”:{“pageInfo”:{“hasNextPage”:false,“hasPreviousPage”:false,“endCursor”:“FgAAAAdfaWQAZIvwlxWNEXsP6IqDAA==”,“startCursor”:“FgAAAAdfaWQAZIvvjRWNEXsP6ICoAA==”,“__typename”:“PageInfo”},“nodes”:[{“timestamp”:“2023-06-16T05:13:49.344Z”,“segment”:{“id”:177,“forbidFull”:false,“disabled”:true,“speedRatio”:1,“startNodeId”:“37”,“endNodeId”:“38”,“length”:5500,“__typename”:“Segment”},“__typename”:“SegmentHistory”},{“timestamp”:“2023-06-16T05:13:51.590Z”,“segment”:{“id”:177,“forbidFull”:false,“disabled”:false,“speedRatio”:1,“startNodeId”:“37”,“endNodeId”:“38”,“length”:5500,“__typename”:“Segment”},“__typename”:“SegmentHistory”},{“timestamp”:“2023-06-16T05:14:59.930Z”,“segment”:{“id”:177,“forbidFull”:true,“disabled”:false,“speedRatio”:1,“startNodeId”:“37”,“endNodeId”:“38”,“length”:5500,“__typename”:“Segment”},“__typename”:“SegmentHistory”},{“timestamp”:“2023-06-16T05:17:31.512Z”,“segment”:{“id”:177,“forbidFull”:true,“disabled”:true,“speedRatio”:1,“startNodeId”:“37”,“endNodeId”:“38”,“length”:5500,“__typename”:“Segment”},“__typename”:“SegmentHistory”},{“timestamp”:“2023-06-16T05:18:15.630Z”,“segment”:{“id”:177,“forbidFull”:true,“disabled”:false,“speedRatio”:1,“startNodeId”:“37”,“endNodeId”:“38”,“length”:5500,“__typename”:“Segment”},“__typename”:“SegmentHistory”}],“__typename”:“SegmentHistoryConnection”}}}
[Full Parsing Data from useQuery]