{"swagger":"2.0","paths":{"/_next/{path}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["_next"],"summary":"static file for app","description":"must be private"},"put":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["_next"],"summary":"static file for app","description":"must be private"},"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["_next"],"summary":"static file for app","description":"must be private"},"delete":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["_next"],"summary":"static file for app","description":"must be private"},"patch":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["_next"],"summary":"static file for app","description":"must be private"}},"/activity/{activityIndex}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["activity"],"summary":"start module","description":"start a module from frello website"}},"/apprenants/{id}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["apprenants"],"summary":"get a learner by id","description":"Learner with her/his classrooms"}},"/auth":{"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["auth"],"summary":"login to rest api","description":"be carefull at what you get"}},"/auth/learner":{"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["auth"],"summary":"login to rest api","description":"be carefull at what you get"}},"/auth/logout":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["auth"],"summary":"login to rest api","description":"be carefull at what you get"},"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["auth"],"summary":"login to rest api","description":"be carefull at what you get"}},"/auth/token":{"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["auth"],"summary":"get token from authorization code","description":"be carefull at what you get"}},"/classroom/{id}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["classroom"],"summary":"return one classroom by id","description":"The user parameter defaults to 'stranger' if unspecified"}},"/cmi5/start/module/{moduleId}/":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["cmi5"],"summary":"launchMethod cmi5","description":"start a module from another site , see cmi5 spec"}},"/end":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["end"],"summary":"end module","description":"end a module from frello website"}},"/inter/start/module/{moduleId}/":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["inter"],"summary":"launchMethod cmi5","description":"start a module from another site , see cmi5 spec"}},"/lti/maskott/start/module":{"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["lti"],"summary":"launchMethod lti","description":"start a module from maskott , lti spec"}},"/lti/session/{sessionId}/grade/{grade}/":{"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["lti"],"summary":"Send grade to LTI consumer","description":"Send grade to consumer"}},"/lti/start/module/":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["lti"],"summary":"launchMethod lti","description":"reload start module from another site , lti spec"},"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["lti"],"summary":"launchMethod lti","description":"start a module from another site , lti spec"}},"/me":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"get the current learner","description":"Learner with her/his classrooms"}},"/me/apprenants":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"get the current learner","description":"Learner with her/his classrooms"}},"/me/apprenants/withrecommendation":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"get the current learner with more data ","description":"Learner iwth recommandations and Homeworks"}},"/me/classroom/{code}/join":{"put":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"Add apprenant to a classroms with the classroom's code","description":"The apprenant id come from auth token"}},"/me/classrooms":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return all classrooms","description":"The apprenant id come from auth token"}},"/me/classrooms/{id_classroom}/program":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return program for classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/classrooms/{id_classroom}/program/withunits":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return program for classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/classrooms/{id_classroom}/program/{id_program}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return program for classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/classrooms/{id_classroom}/program/{id_program}/units":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return units for a programme and a classroom and an user","description":"units"}},"/me/classrooms/{id_classroom}/program/{id_program}/units/{id_unit}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return units for a programme and a classroom and an user","description":"Units"}},"/me/classrooms/{id_classroom}/program/{id_program}/units/{id_unit}/lessons":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return unity for a program and classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/classrooms/{id_classroom}/program/{id_program}/units/{id_unit}/lessons/{id_lesson}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"get all lessons for a program and a classroom of the current learner","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/classrooms/{id_classroom}/program/{id_program}/units/{id_unit}/lessons/{id_lesson}/modules":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return unité pour un programme and classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/classrooms/{id_classroom}/program/{id_program}/units/{id_unit}/lessons/{id_lesson}/modules/{module_id}/activity":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return unité pour un programme and classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/classrooms/{id_classroom}/program/{id_program}/units/{id_unit}/lessons/{id_lesson}/modules/{module_id}/withactivity":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return unité pour un programme and classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/corrections":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return all corrections for currrent leaner","description":"corrections"}},"/me/homeworks":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return all homeworks for currrent leaner","description":"homeworks"}},"/me/module/{module_id}/pause":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"indicate that a learner pause an module","description":"Only for log"}},"/me/modules/{id_module}/questionnaire":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return the questionnaire for a module","description":"Lot of data :)"},"delete":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"reset survey for a module","description":"recreate a survey"}},"/me/modules/{id_module}/questionnaire/questions/{id}":{"put":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"create an response","description":"deprecated"}},"/me/modules/{id_module}/questionnaire/questions/{id}/sound":{"put":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"upload audio file "}},"/me/modules/{moduleId}/questionnaire/reset":{"put":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"reset survey for a module","description":"recreate a survey"}},"/me/modules/{module_id}/questionnaire/create":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return a new questionnaire for a module","description":"delete the old if it exists and it is empty"}},"/me/modules/{module_id}/withactivity":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return module with activities by module id","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/questionnaire/{activity_id}/start":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"indicate that a learner start an activity","description":"Only for log"}},"/me/recommendations":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return all recommendations for currrent leaner","description":"recommendations"}},"/me/responses/{id}/correction":{"patch":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return unity for a program and classroom and user","description":"The user parameter defaults to 'stranger' if unspecified"}},"/me/sections/{sectionId}/modules/{moduleId}/transition":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return section transition","description":"Sections"}},"/me/sessions/{evaluationSessionId}/sections/{sectionId}/modules/{moduleId}/transition":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["me"],"summary":"return section transition","description":"Sections"}},"/mobile-app-platforms/{platform}/versions/{version}/upgrades/{upgrade}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["mobile-app-platforms"],"summary":"get","description":"be carefull at what you get"}},"/module/{moduleId}/activity/{activityIndex}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["module"],"summary":"start module","description":"start a module from frello website"}},"/module/{moduleId}/end":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["module"],"summary":"end module 2","description":"end a module from frello website"}},"/module/{moduleId}/start":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["module"],"summary":"start module 2","description":"start a module from frello website"}},"/module/{moduleId}/transition":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["module"],"summary":"end module 2","description":"end a module from frello website"}},"/noaccount/start/module/{moduleId}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["noaccount"],"summary":"launchMethod cmi5","description":"start a module from another site , see cmi5 spec"}},"/proxy/maskott/{path}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["proxy"],"summary":"Send xapi trace to maskott","description":"must be private"},"put":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["proxy"],"summary":"Send xapi trace to maskott","description":"must be private"},"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["proxy"],"summary":"Send xapi trace to maskott","description":"must be private"},"delete":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["proxy"],"summary":"Send xapi trace to maskott","description":"must be private"},"patch":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["proxy"],"summary":"Send xapi trace to maskott","description":"must be private"}},"/section/{sectionId}/start":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["section"],"summary":"start section","description":"start a section from frello website"}},"/section/{sectionId}/transition":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["section"],"summary":"start section","description":"transition a section from frello website"}},"/start/module/{moduleId}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["start"],"summary":"start module","description":"start a module from frello website"}},"/start/module/{moduleId}/version/{moduleVersionId}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["start"],"summary":"start module","description":"start a module from frello website"}},"/static/{path}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["static"],"summary":"static file for app","description":"must be private"},"put":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["static"],"summary":"static file for app","description":"must be private"},"post":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["static"],"summary":"static file for app","description":"must be private"},"delete":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["static"],"summary":"static file for app","description":"must be private"},"patch":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["static"],"summary":"static file for app","description":"must be private"}},"/transition":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["transition"],"summary":"start section","description":"transition a section from frello website"}},"/users/me":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["users"],"summary":"return an user by id","description":"The user parameter defaults to 'stranger' if unspecified"}},"/users/{id}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["users"],"summary":"return an user by id","description":"The user parameter defaults to 'stranger' if unspecified"}},"/videos/{video_id}":{"get":{"responses":{"default":{"description":""}},"produces":["application/json"],"tags":["videos"],"summary":"get url video from vimeo","description":"be carefull at what you get"}}},"definitions":{},"tags":[{"name":"api","description":"Frello Api for learner"}],"info":{"title":"Frello Api","description":"Powered by node, hapi, joi, hapi-swaggered, hapi-swaggered-ui and swagger-ui","version":"1.0"}}