Git Product home page Git Product logo

schoolbox-api-docs's People

Contributors

armatronic avatar brahmah avatar jleckie avatar justinaclarke avatar tomcdonnell avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

schoolbox-api-docs's Issues

Add an endpoint similar to `/news/saved` but returns a list of articles

In some apps, it may be necessary to retrieve a list of articles instead of just their identifiers. This feature is particularly useful for applications that enable users to save articles for later. However, it would be great to establish an efficient method for retrieving these articles without iterating through all the identifiers.

Many requests required to get all feedback for student

Hello all.

In order to get all feedback for a particular student, I need to retreive every single assessment.
I have a school of 400 students, and we're currently at 9000 assessments that have a due date in 2023.
9000 api calls to get the marks for a student??? It seems like this would be a common use case for the api.
I could cut down my calls by a factor of 20 if I could get assessments per student/learner

/api/user/{id} Endpoint Peculiar Behaviour

The groups schema for the /api/user/{id} endpoint stipulates that the groups property value is a dictionary with the group’s Id as the key and group obj as the value. This is true for the most part alas, not when the user is not enrolled in any groups.

If the user is enrolled in groups, the response looks like this:

{
	“groups”:  {
		“5213”: {...}
	}
}

If the user is not enrolled in any groups, it looks like:

{
	“groups”:  []
}

userGet Groups Misleading Schema

Hey

The changes brought forward in this pull provision non-superusers to access the userGet endpoint. After giving this a shot, it was evident that the schema inaccurately depicts the response from the API.

The schema depicts the groups property as an array of groups. Rather, the API returns a dictionary with the key being the group id and the value being the userGroupMembership-read item.

Although the API docs are inaccurate, The API itself should be updated to conform to the defined schema as it is more in line with other endpoints and works better with strictly typed languages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.