JSON Export with xAPI?

28 views
Skip to first unread message

Estela de la Asunción Gonzalez

unread,
Oct 5, 2015, 5:51:01 AM10/5/15
to Learning Locker
Hello again!

I am now working with the Exports part of Learning Locker and I have a doubt.
I have created some Reports and some Exports in LL, and now I want to have the exports information in my Drupal site. 
When I use {{baseUrl}}/api/v1/exports as a endpoint in Postman I only get the definition of the fields in the exports, but if I use something like this {{baseUrl}}/api/v1/exports/121313/show
I get the right info but from one single export, and I want them all.

So, I was wondering, is there a way of getting all the exports info with one single request in Postman?

Thank you in advance for your help :)

b...@ht2.co.uk

unread,
Oct 6, 2015, 10:45:16 AM10/6/15
to Learning Locker
Hi

Right now, no, not possible. You could make a feature request on the Github account (https://github.com/LearningLocker/learninglocker/issues) and we can raise it with the product manager as an item for the roadmap?

Ben

James Mullaney

unread,
Oct 6, 2015, 10:48:37 AM10/6/15
to learnin...@googlegroups.com
Hi there, unfortunately there is currently no way to do this. 

However, given you can get the ID of each from the first call I would suggest writing a small script that goes and loops through the returned entries and collects the respective output for each. It probably isn't in scope to return all the exports' data from one call due to unknown limits of number of exports and total data for each.

Estela de la Asunción Gonzalez

unread,
Oct 7, 2015, 3:47:59 AM10/7/15
to Learning Locker
Hello!

Thank you for your answers :)
I have thought about getting the exports with a script using the export´s ID but it didn't seem to be the better way because every time you create a new export it is necessary to add the new ID to the script to be imported :(
Maybe I should ask for the new request on Github as Ben says ..
Reply all
Reply to author
Forward
0 new messages