-
Notifications
You must be signed in to change notification settings - Fork 2
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
/learningpaths and /learning_resources?resource_type=learning_path return different results #67
Comments
Since learning paths are CRUDable, we need at least one API endpoint to return both published and unpublished resources of this type (but only to people who have permissions to edit them), which is what the |
PS the LearningPathViewSet also has custom create and destroy functions for CRUD functionality that the read-only LearningResourceViewSet lacks. |
Having worked more on the learningpaths frontend, I do think it would be more convenient to consistently use the It also seems unexpected to me that I made #71 for this behavior change.
Yes, those are working well 👍 |
In looking at #71, @mbertrand raised a good point about
|
As a logged-in user with permission to edit learning paths:
I would expect the results to be the same.
For context: It seems most convenient on the frontend to just use the unified API
/learning_resource
API, which is how I came across this.The text was updated successfully, but these errors were encountered: