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

Backend: Allow adding existing components when creating a unit via the REST API. #1705

Open
Tracked by #1697
bradenmacdonald opened this issue Mar 4, 2025 · 0 comments

Comments

@bradenmacdonald
Copy link
Contributor

bradenmacdonald commented Mar 4, 2025

Allow adding existing components when creating a unit via the REST API.

Probably the "update unit" API.

Requirements:

  1. Components must be from the same library.
  2. Allow re-ordering and removing components via the update API.
  3. Enforce permissions.
  4. Ensure the publish_status field in the search index indicates when the unit has or "contains" changes.
  5. Ensure a component_count field in the search index is updated to show how many components the unit has.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In grooming
Development

No branches or pull requests

1 participant