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

[Tagging] REST API to trigger export of a taxonomy #113

Closed
bradenmacdonald opened this issue Sep 20, 2023 · 0 comments
Closed

[Tagging] REST API to trigger export of a taxonomy #113

bradenmacdonald opened this issue Sep 20, 2023 · 0 comments

Comments

@bradenmacdonald
Copy link
Contributor

bradenmacdonald commented Sep 20, 2023

"As a power user, I want to be able to export a taxonomy using an API"

"As a regular user, I want to use the frontend to export a taxonomy using an API" (prereq)

Acceptance Criteria

  1. Add a REST API to edx-platform or openedx-learning that can trigger an export of any given taxonomy as either JSON or CSV.
  2. The HTTP response should have the correct Content-Type and the API should have an option like ?download which when specified will return the data with Content-Disposition: attachment; filename="taxonomy_name.json" or similar, so that it will be interpreted by the user's browser as downloading a file, and the file with have an appropriate name.
  3. Ensure that permissions are checked - users can only export taxonomies that they have permission to view. (See [Tagging] Permissions for Taxonomies List Page and Taxonomy Detail Page #129 for permissions details)

Developer notes

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

No branches or pull requests

1 participant