API Changelog
The MILES API keeps evolving as new features land and old ones are removed. To keep API consumers up-to-date, changes in the schema – as well as changes the schema cannot express – are announced here.
To stay informed, you can subscribe via RSS too. Feed items are tagged with the kinds of changes they contain, so you can filter for releases that matter to you (e.g. only those with deprecations).
Details about this release in the version history
Exercise content is now validated on write. See Schema Validation for details.
- Changed behavior
createExerciseandupdateExercisenow validatedefinition,answerandexplanationsagainst the JSON Schema of the exercise type and reject a mismatch withJSON_INVALID. - Changed behavior
publishExercisesnow publishes only exercises whoseExercise.validistrue. The rest are skipped and counted as errors in the result. - AddedField
Exercise.validtrue if the exercise passed the completeness check and is ready to be published
Details about this release in the version history
- Changed behavior
requestPasswordResetnow recognizes single sign-on users and sends them an email pointing to their identity provider instead of a reset token. - Changed behavior
setNewPasswordnow fails withINVALID_INPUTwhen the token belongs to a single sign-on user. - Changed behavior
addActivityLogsno longer writes learning-phase progress as a side effect of aLEARNING_PHASEentry —setPhaseCompletedhas taken over that responsibility.
Details about this release in the version history
Details about this release in the version history
- AddedOperation
updateFileReferencesupdates file meta data for given files. - AddedOperation
getFileReferencesget metadata on files - AddedType
UpdateFileReferenceInput - AddedField
FileReference.uuid - AddedField
FileReference.aiGeneratedwhether the file was produced by an AI feature - AddedField
Group.hasAiTutordoes the group have the ai tutor enabled? - AddedEnum value
Privilege.EDIT_FILE
This changelog starts with today’s release.
- DeprecatedField
Appointment.startDateString - DeprecatedField
Appointment.endDateString - DeprecatedEnum value
ActivityType.COURSE - DeprecatedEnum value
PrivilegeScope.HINT - DeprecatedArgument
filteronFineObjectiveEdges.exerciseRevisions - DeprecatedArgument
filteronLearningPhaseEdges.exerciseRevisions - DeprecatedInput field
SystemContentFilter.ordering