Eduflow
Search…
API Changelog
Looking for general Eduflow updates? Check out Eduflow's Canny changelog to see our latest activities. For upcoming changes, see our Roadmap.

2021-08-27

Tags are now available via the Course.tags and Participant.tags fields and tag operations are available via the createTag and addStudentsToTag mutations.

2021-07-13

Discussions are now available via Connections:
Query
Response
1
{
2
activity(id: "ae8f3183-0fd0-48e1-b52d-2f455cd78db7") {
3
... on DiscussionActivity {
4
title
5
topics(first: 2) {
6
edges {
7
node {
8
title
9
content
10
likesCount
11
author {
12
name
13
}
14
commentsCount
15
comments {
16
edges {
17
node {
18
content
19
likesCount
20
repliesCount
21
author {
22
name
23
}
24
replies {
25
edges {
26
node {
27
content
28
author {
29
name
30
}
31
}
32
}
33
}
34
}
35
}
36
}
37
}
38
}
39
}
40
}
41
}
42
}
Copied!
1
{
2
'data': {
3
'activity': {
4
'topics': {
5
'totalCount': 2,
6
'edges': [
7
{
8
'node': {
9
'title': 'Topic 2',
10
'content': '<p>Topic 2</p>',
11
'author': {
12
'name': 'Ryan Howard'
13
},
14
'commentsCount': 0,
15
'comments': {
16
'edges': [
17
]
18
},
19
'likesCount': 0
20
}
21
},
22
{
23
'node': {
24
'title': 'Topic 1',
25
'content': '<p>Topic 1</p>',
26
'author': {
27
'name': 'Ryan Howard'
28
},
29
'likesCount': 2,
30
'commentsCount': 4,
31
'comments': {
32
'edges': [
33
{
34
'node': {
35
'author': {
36
'name': 'Ryan Howard'
37
},
38
'content': '<p>Comment 1</p>',
39
'likesCount': 2,
40
'replies': {
41
'edges': [
42
{
43
'node': {
44
'author': {
45
'name': 'Ryan Howard'
46
},
47
'content': '<p>Reply 1</p>'
48
}
49
},
50
{
51
'node': {
52
'author': {
53
'name': 'Ryan Howard'
54
},
55
'content': '<p>Reply 2</p>'
56
}
57
}
58
]
59
},
60
'repliesCount': 2
61
}
62
},
63
{
64
'node': {
65
'author': {
66
'name': 'Pam Beesley'
67
},
68
'content': '<p>Comment 2</p>',
69
'likesCount': 0,
70
'replies': {
71
'edges': [
72
]
73
},
74
'repliesCount': 0
75
}
76
}
77
]
78
}
79
}
80
}
81
]
82
}
83
}
84
}
85
}
Copied!

2020-01-20

Reviews and reflections are now available via Connections:
GraphQL
Results
1
{
2
activity(id: "<activity_id>") {
3
... on ActivityInterface {
4
id
5
activityInterfaceTitle: title
6
activityType
7
... on TeacherReviewActivity {
8
reviews(first: 2) {
9
pageInfo {
10
endCursor
11
}
12
edges {
13
node {
14
receivers {
15
email
16
}
17
answers {
18
question {
19
id
20
}
21
textAnswer
22
}
23
}
24
}
25
}
26
}
27
}
28
}
29
}
Copied!
1
{
2
"data": {
3
"activity": {
4
"id": "<activity_id>",
5
"activityInterfaceTitle": "Flow 1 - Activity 5 - Teacher's Perspective",
6
"activityType": "TeacherReview",
7
"reviews": {
8
"pageInfo": {
9
"endCursor": "YXJyYXljb25uZWN0aW9uOjE="
10
},
11
"edges": [
12
{
13
"node": {
14
"receivers": [
15
{
16
"email": "[email protected]"
17
}
18
],
19
"answers": [
20
{
21
"question": {
22
"id": "397df269-3b17-42fa-bf1d-76ca509c0525"
23
},
24
"textAnswer": "Some awesome answer for a text question"
25
},
26
{
27
"question": {
28
"id": "43d53089-9577-4312-ac43-2b15ffaa8492"
29
},
30
"textAnswer": null
31
},
32
{
33
"question": {
34
"id": "760ba06f-26da-4aa4-96bb-7c1fffe1e7a1"
35
},
36
"textAnswer": null
37
}
38
]
39
}
40
},
41
{
42
"node": {
43
"receivers": [
44
{
45
"email": null
46
}
47
],
48
"answers": [
49
{
50
"question": {
51
"id": "397df269-3b17-42fa-bf1d-76ca509c0525"
52
},
53
"textAnswer": "Another answer"
54
},
55
{
56
"question": {
57
"id": "43d53089-9577-4312-ac43-2b15ffaa8492"
58
},
59
"textAnswer": null
60
},
61
{
62
"question": {
63
"id": "760ba06f-26da-4aa4-96bb-7c1fffe1e7a1"
64
},
65
"textAnswer": null
66
}
67
]
68
}
69
}
70
]
71
}
72
}
73
}
74
}
Copied!
Last modified 1mo ago