...
Code Block |
---|
query SampleScenarioSessionNodeQueryDemonstratingImportantFields($id: ID!) { node(id: $id) { ... on ScenarioSession { startedAt endedAt duration idleDuration numberOfStepsPossible numberOfStepsViewed percentOfStepsViewed state externalData # NOTE: this is where query params passed from the System of Record can be found scenarioRelease { author { id name } publishedAt scenario { author { id name } description name originGroup { id name } publishedAt } type version } events { nodes { id createdAt receivedAt type externalData } } steps { nodes { scenarioStep { name orderIndex scenarioSequence { name } } } } } } } |
Retrieving All Scenario Session Data
Code Block |
---|
query SampleAllScenarioSessionsQueryDemonstratingImportantFields { viewer { organization { scenarioSessions { nodes { startedAt endedAt duration idleDuration numberOfStepsPossible numberOfStepsViewed percentOfStepsViewed state externalData # NOTE: this is where query params passed from the System of Record can be found scenarioRelease { author { id name } publishedAt scenario { author { id name } description name originGroup { id name } publishedAt } type version } events { nodes { id createdAt receivedAt type externalData } } steps { nodes { scenarioStep { name orderIndex scenarioSequence { name } } } } } } } } } |
...