Skip to content

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

Description

@bradenmacdonald

"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions