Course summary (outputs)

Scores and metadata

Eduflow provides access to various computed results via your course's activity page

From within, you can access:

Querying

Score activity

This example retrieves score completion state and score outputs.

query ScoreActivityQuery {
  activity(id: "<activity_id>") {
    ... on ScoringActivity {
      outputs {
        edges {
          node {
            user {
              username
              email
            }
            outputs {
              ... on CompletionState {
                outputType
                status
                isOverridden
              }
              ... on Score {
                outputType
                score
              }
            }
          }
        }
      }
    }
  }
}

Submission Activity

This examples has fragments for completion, file size, and (word) count.

query SubmissionActivityQuery {
  activity(id: "<activity_id>") {
    ... on SubmissionActivity {
      outputs {
        edges {
          node {
            user {
              username
              email
            }
            outputs {
              ... on CompletionState {
                outputType
                status
                isOverridden
              }
              ... on CompletionDate {
                outputType
                completionDate
              }
              ... on FileSize {
                outputType
                sizeBytes
              }
              ... on Count {
                outputType
                max
                count
              }
            }
          }
        }
      }
    }
  }
}

Last updated