[Building Sakai] Assignment API

Eby John ebyjohn at gmail.com
Wed Sep 26 12:42:57 PDT 2012


Thank you everyone for your replies.

@Zhen, We do not have access to the DB so directly accessing it is not
going to work and screen scraping is the last resort.

@Jim, Mathwew
Version 2.9 seems be have exactly what I am looking for. /assignment/site
But registration on that site is not working I believe so I cannot try it
out. So for the current version on trysakai.longsight.com is there any
other way to get a list of assignments for a site? Or is this a
configuration detail that I need to talk to the admin about?


Eby

On Wed, Sep 26, 2012 at 2:49 PM, Matthew Jones <matthew at longsight.com>wrote:

> Looks like those are 2.9 features that Michigan must have backported.
>
> https://trysakai29.longsight.com/direct/assignment/describe
>
> On Wed, Sep 26, 2012 at 2:45 PM, Jim Eng <jimeng at umich.edu> wrote:
>
>>  Funny.  After I sent that, I clicked on the first link I sent you:
>>
>> https://trysakai.longsight.com/direct/assignment/describe
>>
>>
>> And I got something quite different from when I followed a similar link
>> on a server here at Michigan.  Screenshots are attached.  First is what I
>> got from your server.  Second is what I get from our server.  It's likely
>> that your server has some things blocked at this time.
>>
>> Jim
>>
>>
>> At your server:
>>
>>
>>
>> At our server:
>>
>>
>>
>>
>> On Sep 26, 2012, at 2:30 PM, Jim Eng wrote:
>>
>> Hi Eby,
>>
>> Try going to this address:
>>
>> https://trysakai.longsight.com/direct/assignment/describe
>>
>> You'll find the URL you mentioned in there, but you'll find a bunch of
>> others as well.  You may need to get all assignments for a site and you may
>> need the site-id for a particular student to do that.  Go up a level to:
>>
>> https://trysakai.longsight.com/direct/
>>
>> And there, you may find a way to get site info for the current user.
>>
>> Jim
>>
>>
>> On Sep 26, 2012, at 2:17 PM, Eby John wrote:
>>
>> Hi Everyone,
>>
>> I apologize if this is not the right place to ask this query. Please let
>> me know where I can ask instead.
>>
>> We are trying to a make a mobile application for my college which calls
>> the Sakai api's at the backend. The main application is to fetch the
>> assignments from the site. Right now
>> https://trysakai.longsight.com/direct/assignment/:ID: with the correct
>> ID works. But where do I get these assignment ID's from?
>>
>>
>> Regards
>> Eby
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>>
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120926/7293f1ad/attachment.html 


More information about the sakai-dev mailing list