Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statistics API #10

Open
science opened this issue Apr 13, 2016 · 0 comments
Open

Statistics API #10

science opened this issue Apr 13, 2016 · 0 comments

Comments

@science
Copy link
Member

science commented Apr 13, 2016

The LR community suggests a very useful feature to provide aggregate statistics about what is in the Learning Registry. This API might be some kind of REST-linked structure that provides "dig-able" statistics. Such as the following sequence of API calls:

API call: /api/v1/statistics
API result:
{ "lr-envelopes": {"count": 123456789}, 
  "@vocabs": [
    {"@vocab": "http://schema.org/", "api": "/api/v1/statistics?@vocab=http://schema.org/", "@count": 456789}
  ], 
  "@id": [
    {"@id": "lrmi:useRightsUrl", "api": "/api/v1/statistics?@id=lrmi:useRightsUrl", "@count": 3456}
  ]
}

From here, we could call /api/v1/statistics?@vocab=http://schema.org/ to dig into the stats underlying this vocabulary.

This is just a sketch of an idea for digging into aggregate statistics about what's inside LR, but the core idea is to give users the ability to see what is inside the system so they can find envelopes that are of interest, and that are present in sufficient quantity to make it worth parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant