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
}
}
}
}
}
}
}
}
{
"data": {
"activity": {
"outputs": {
"edges": [
{
"node": {
"user": {
"username": "oscar.martinez@dunder-mifflin.com",
"email": "oscar.martinez@dunder-mifflin.com"
},
"outputs": [
{},
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "Score",
"score": "1.0"
}
]
}
},
{
"node": {
"user": {
"username": "angela.martin@dunder-mifflin.com",
"email": "angela.martin@dunder-mifflin.com"
},
"outputs": [
{},
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "Score",
"score": "0.3666666666666667"
}
]
}
},
{
"node": {
"user": {
"username": null,
"email": "creed.bratton@dunder-mifflin.com"
},
"outputs": [
{},
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "Score",
"score": null
}
]
}
}
]
}
}
}
}espon
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
}
}
}
}
}
}
}
}
{
"data": {
"activity": {
"outputs": {
"edges": [
{
"node": {
"user": {
"username": "andy",
"email": "andy.bernard@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "angela",
"email": "angela.martin@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": null
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "creed.bratton",
"email": "creed.bratton@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": 8284362
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "erin.hannon",
"email": "erin.hannon@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": 678768
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "jim",
"email": "jim@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": null
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "karen",
"email": "karen.filipelli@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": 13
}
]
}
},
{
"node": {
"user": {
"username": "kelly",
"email": "kelly.kapoor@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": null
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "kevin",
"email": "kevin.mallone@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": 859560
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "meredith",
"email": "meredith.palmer@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": null
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "oscar",
"email": "oscar.martinez@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": null
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "pam",
"email": "pam@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": 1167
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "phyllis",
"email": "phyllis.vance@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": null
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "ryan",
"email": "ryan.howard@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "stanley",
"email": "stanley@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Unstarted",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": null
},
{
"outputType": "FileSize",
"sizeBytes": null
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
},
{
"node": {
"user": {
"username": "toby",
"email": "toby.flenderson@dunder-mifflin.com"
},
"outputs": [
{
"outputType": "CompletionState",
"status": "Finished",
"isOverridden": false
},
{
"outputType": "CompletionDate",
"completionDate": "2022-04-28T08:18:41.576372Z"
},
{
"outputType": "FileSize",
"sizeBytes": 529224
},
{
"outputType": "Count",
"max": null,
"count": null
}
]
}
}
]
}
}
}
}
Last updated