Project

General

Profile

Support #7008

Existing WebServices

Added by florian fournier almost 5 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Web services
Target version:
Start date:
17/03/2014
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi,

I wanted to know the specification of existing webservices in website chamilo, to use it for a mobile application ( entries, output, behaviour).

Do you have any documentation about that ?

Regards

Florian.

History

#1

Updated by Julio Montoya almost 5 years ago

  • Category changed from Documents to Web services

The current webservices in Chamilo 1.9.x are located in our repository:

https://github.com/chamilo/chamilo-lms/tree/1.9.x/main/webservices

Is also possible to reach them in our demo platform (admin/admin) for example:

https://stable.chamilo.org/main/webservices/registration.soap.php

#2

Updated by florian fournier almost 5 years ago

Thanks,

I saw the source code, and I wanted to know, how can I access to the information about the contained of one course/excercice ( question, audio, video) since the webservice ?

I need this information to display the question and other component of the excercice.

Thanks.
Florian.

#3

Updated by Julio Montoya almost 5 years ago

  • Status changed from New to Needs more info
  • Assignee set to Yannick Warnier

As far as I know we don't have code in the webservices that deals with the exercises and learning path creation/creation.
If you want that behaviour new code need to be added. Maybe Yannick could provide more feedback about this?

#4

Updated by Yannick Warnier almost 5 years ago

  • Assignee deleted (Yannick Warnier)

Sorry, I'm just discovering this task now. Florian, could you find more info? Are you still looking?
There are other scripts available in main/webservices/, but the most useful would probably be to check github.com/ywarnier/ilearning/ as it is code meant for consuming content through a mobile app

#5

Updated by Yannick Warnier over 4 years ago

A first step would be to implement oauth correctly in Chamilo.
We can either wait for 2.0 and implement it as a Symfony component (I think this would be waaay too long to wait until then) or use one of the following libraries:

Then the next step would be to implement REST services.
There is already a working example of that here: https://github.com/ywarnier/ilearning/blob/master/chamilo/ilearning/thrift/metodos.class.php but the code is disorganized and not self-documented enough in order to understand why the whole Thrift package is used (and possibly hacked) and what it does exactly.

#6

Updated by Yannick Warnier about 4 years ago

  • Target version set to 1.10.0
#7

Updated by Yannick Warnier almost 4 years ago

  • Status changed from Needs more info to Assigned
  • Assignee set to Angel Quiroz
  • Priority changed from Normal to Low
#8

Updated by Yannick Warnier almost 4 years ago

  • Status changed from Assigned to New
  • Assignee deleted (Angel Quiroz)
  • Target version changed from 1.10.0 to 2.0

Also available in: Atom PDF