Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

yotta / pictogram

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 60
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Api examples

Api examples

Last edited by Sebastián Collado Montañez Dec 12, 2016
Page history

  'GET /student/eternal': 'StudentController.eternal',

  'POST /action': 'ActionController.create',
  'POST /actions': 'ActionController.createlist',

  'POST /admin/login': 'AdminController.login',

  'GET /instruction/:id_ins/ws': 'InstructionController.ws',
  'PUT /instruction/:id': 'InstructionController.update',
  'POST /instruction': 'InstructionController.create',
  'DELETE /instruction/:id': 'InstructionController.destroy',

  'PUT /instruction/template/:id': 'MetaInstructionController.update',
  'POST /instruction/template': 'MetaInstructionController.create',
  'DELETE /instruction/template/:id': 'MetaInstructionController.destroy',

  'PUT /method/:id': 'MethodController.update',
  'POST /method': 'MethodController.create',
  'POST /method/new': 'MethodController.newMethod',
  'POST /method/save': 'MethodController.save',
  'DELETE /method/:id': 'MethodController.destroy',

  'GET /method/template/:id_sup': 'MetaMethodController.supVisible',
  'GET /method/template/owned/:id_sup': 'MetaMethodController.supOwned',
  'POST /method/template': 'MetaMethodController.create',
  'PUT /method/template/:id': 'MetaMethodController.update',
  'DELETE /method/template/:id': 'MetaMethodController.destroy',

  'GET /office/get_all': 'OfficeController.getAll',
  'GET /office/:code': 'OfficeController.getBasic',
  'GET /office/get/:id': 'OfficeController.get',
  'GET /office/get/:id/supervisors': 'OfficeController.supervisors',

  'POST /picto/upload': 'PictoController.upload',
  'POST /picto/tag': 'PictoController.add_tag',
  'POST /picto/exp': 'PictoController.change_exp',
  'DELETE /picto/:id': 'PictoController.destroy',
  'DELETE /picto/:id_sup/tag/:id_tag': 'PictoController.del_tag',

  'GET /server/ping': 'ServerController.ping',
  'GET /server/ping_session': 'ServerController.ping_session',

  'GET /stu/:id_stu': 'StudentController.getInfo',
  'GET /stu/:id_stu/supervisors': 'StudentController.supervisors',
  'GET /stu/:id_stu/therapists': 'StudentController.therapists',
  'GET /stu/:id_stu/tutors': 'StudentController.tutors',
  'POST /stu/:id_stu/sup/:id_sup': 'StudentController.link_supervisor',
  'GET /stu/:id_stu/pictos': 'StudentController.pictos',
  'GET /stu/:id_stu/methods': 'StudentController.methods',
  'GET /stu/:id_stu/lasttries': 'StudentController.lasttries',
  'GET /stu/:id_stu/tries': 'StudentController.tries',
  'GET /stu/:id_stu/get_last_instruction': 'StudentController.last_instruction',
  'GET /stu/:id_stu/ws': 'StudentController.ws',
  'PUT /stu/:id_stu': 'StudentController.update',
  'PUT /stu/:id_stu/picto/:id_stuPicto': 'StudentController.update_picto',
  'PUT /stu/:id_stu/picto': 'StudentController.update_picto',
  'POST /stu/login': 'StudentController.login',
  'POST /stu': 'StudentController.create',
  'POST /stu/upload': 'StudentController.upload',
  'POST /stu/:id_stu/picto/:id_picto': 'StudentController.add_picto',
  'POST /stu/subscribe': 'StudentController.subscribe',
  'POST /stu/unsubscribe': 'StudentController.unsubscribe',

  // Websocket request for propagating actions add, delete, modify...
  'POST /stu/vocabulary': 'StudentController.vocabulary',

  'POST /stu/action': 'StudentController.action',
  'POST /stu/config': 'StudentController.config',
  'POST /stu/actions_batch': 'StudentController.actions_batch',
  'DELETE /stu/:id_stu': 'StudentController.delete',
  'DELETE /stu/:id_stu/sup/:id_sup': 'StudentController.unlink_supervisor',
  'DELETE /stu/:id_stu/picto/:id_stuPicto': 'StudentController.delete_picto',

  'GET /sup/all': 'SupervisorController.list',
  'GET /sup/:id/students': 'SupervisorController.students',
  'GET /sup/:id/pictos': 'SupervisorController.pictos',
  'GET /sup/:id/pic_categories/:id_cat': 'PictoController.categories',
  'GET /sup/:id/pic_fromcategory/:id_cat': 'PictoController.fromcategory',
  'GET /sup/email/:email': 'SupervisorController.getByEmail',
  'PUT /sup/:id': 'SupervisorController.update',
  'POST /sup': 'SupervisorController.create',
  'POST /sup/login': 'SupervisorController.login',
  'GET /sup/activate/:token': 'SupervisorController.activate',
  'POST /sup/upload': 'SupervisorController.upload',
  'POST /sup/subscribe': 'SupervisorController.subscribe',
  'POST /sup/unsubscribe': 'SupervisorController.unsubscribe',

  'PUT /try/:id': 'TryController.update',
  'POST /try': 'TryController.create',

  'GET /ws/:id_stu/year/:year': 'WorkingSessionController.per_year',
  'GET /ws/:id_stu/month/:month': 'WorkingSessionController.per_month',
  'GET /ws/:id_ws/tries': 'WorkingSessionController.tries',
  'PUT /ws/:id': 'WorkingSessionController.update',
  'POST /ws': 'WorkingSessionController.create',
  'POST /ws/:id_ws/close': 'WorkingSessionController.close'
  Clone repository
  • 20170328_isabellemonfort
  • 20170328_luisballesteros
  • 20170328_luisperez
  • Apiaction
  • Apiadminvalid
  • Apiattribute
  • Apidevicevalid
  • Apienrolment
  • Apiinstructionresource
  • Apiinstructionvalid
  • Apilearningunitresource
  • Apimetamethodvalid
  • Apimethod
  • Apimethodresource
  • Apimethodvalid
More Pages
×

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.