[Building Sakai] RESTful services in Sakai

Alexandre Ballesté alexandre.balleste at udl.cat
Mon Feb 18 05:58:14 PST 2013


Hi Daniel, You cant take a look to these "dirty" js/html examples [1]. 
You could  see how to start.

[1] https://cv.udl.cat/access/content/group/html-avan-2011/sakai-rest.tar.gz


On 02/18/2013 02:32 PM, Daniel Merino wrote:
> Hi everybody.
>
> One of our teachers has asked us how could he retrieve data from their
> sites (specifically Assignments and Gradebook items) for their own
> applications.
>
> I have tried to take a look on REST services, but I have not found too
> much documentation about how to use them.
>
> I understand that the available services are described in
> /direct/<TOOL>/describe, but I'm not able to retrieve nothing but site
> generic XML info.
>
> For example, using /direct/announcement/<siteid>.xml should retrieve all
> the site's announcements but it shows an empty xml document.
>
> And direct/gradebook/<siteid> shows a form to add an announcement even
> without being logged. Trying to get direct/gradebook/<siteid>.xml throws
> an exception.
>
> I'm sorry if this is a simple question, but does somebody know where
> could I find simple use examples of REST services calls?
>
> Thanks in advance.


-- 
Alexandre Ballesté Crevillén  alexandre.balleste at udl.cat
=====================
University of Lleida
Information and Communication Systems Service
Analyst / Programmer
Twitter: @sinmsinm

Tlf: +34 973 702148
Fax: +34 973 702130
=====================



More information about the sakai-dev mailing list