// Before
{
"status": true,
"length": 1,
"data": {
"id": "16",
"type": "Moodle::Competency",
"attributes": {
"shortname": "Comp 3",
"description": "",
"idnumber": "C03",
"timecreated": 1551171957,
"timemodified": 1551171957,
"framework_id": 7
},
"relationships": {
"courses": {
"data": [
{
"id": "12",
"type": "course"
},
{
"id": "14",
"type": "course"
}
]
}
}
}
}
// After
{
"status": true,
"length": 1,
"data": {
"id": "16",
"type": "Moodle::Competency",
"attributes": {
"shortname": "Comp 3",
"description": "",
"idnumber": "C03",
"timecreated": 1551171957,
"timemodified": 1551171957,
"framework_id": 7,
"course_count": 2
},
"relationships": {
"courses": {
"data": [
{
"id": "12",
"type": "course"
},
{
"id": "14",
"type": "course"
}
]
}
}
}
}
Last active
April 12, 2019 07:13
-
-
Save philiplambok/898b6bd73db43509037a7903c69ddd26 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment