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

Bulk operations for projects #4376

Open
magicznyleszek opened this issue Mar 23, 2023 · 1 comment · Fixed by #4404
Open

Bulk operations for projects #4376

magicznyleszek opened this issue Mar 23, 2023 · 1 comment · Fixed by #4404
Assignees
Labels
API Changes related to API endpoints Back end Front end

Comments

@magicznyleszek
Copy link
Member

magicznyleszek commented Mar 23, 2023

When selecting multiple projects in My Projects route, we need some bulk operations to be possible:

  • delete
  • archive
  • unarchive

Back end notes

New endpoint: POST request to /api/v2/assets/bulk/:

  1. Some assets (every asset you own or you can manage)
   {"payload": {"asset_uids": ["auid_1", ..., "auid_n"], "action": "archive|delete|unarchive"}}
  1. All your assets
   {"payload": {"confirm": true, "action": "archive|delete|unarchive"}}
@magicznyleszek magicznyleszek added this to the Project Views Post-MVP milestone Mar 23, 2023
@magicznyleszek magicznyleszek added API Changes related to API endpoints Back end Front end labels Mar 23, 2023
@magicznyleszek magicznyleszek self-assigned this Mar 24, 2023
@noliveleger
Copy link
Contributor

@magicznyleszek FYI, I have update the back-end notes because it changed a little since our last discussion.

@magicznyleszek magicznyleszek linked a pull request Apr 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Changes related to API endpoints Back end Front end
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants