WikiEducationFoundation / WikiEduDashboard

Wiki Education Foundation's Wikipedia course dashboard system
https://dashboard.wikiedu.org
MIT License
392 stars 630 forks source link

REST endpoint to get JSON summary of assigned articles #735

Closed ftrotter closed 8 years ago

ftrotter commented 8 years ago

I would love to be able to build tools specifically for medical students who are taking a given class, right beside the WikiEduDashboard.

To do that I really need to be able to get a json data source with the following data

the id of the revision where the student started editing the page would be nice, but i can figure that out using other api calls.

Using this I can build additional functionality that will only be useful for medical students but still respect the dashboards notion of what a class is (exactly). That means I will not have to try and manually replicate the work that the the dashboard automatically does by hand.

Essentially I want a JSON data equivalent of this: https://dashboard.wikiedu.org/courses/Saint_Louis_University/Advanced_Evolution_(Spring_2016)/articles

thanks -ft

ragesoss commented 8 years ago

That data is currently spread across several endpoints:

If that doesn't get you where you want to be, I could probably toss together an ad-hoc temporary API that brings all that stuff together, for you to use in the short term.

We plan to create a more general API for extracting data from the dashboard, probably within the next year, but in the short term, let me know if the existing front-end APIs are good enough to hold you over.

ragesoss commented 8 years ago

@ftrotter ping. Let me know if the existing endpoints will work for you.

ftrotter commented 8 years ago

I will not have time to work on this for a bit... but I am confident this is what I need.

Thanks for building it "open by default"... that is kinda awesome.

Closing the ticket now...