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

Allow POSTing and PUTting section images and sections separately instead of inlined #304

Open
Rikuoja opened this issue Feb 19, 2018 · 0 comments

Comments

@Rikuoja
Copy link
Contributor

Rikuoja commented Feb 19, 2018

Currently, the only way to edit an existing Hearing is to PUT the whole shebang with all the images and sections inlined. This is very susceptible to effects such as the UI state accidentally misplacing some sections, which are then deleted as a result even if the user did not mean to edit them at all.

Therefore, the section and image endpoints should accept sections and images directly, so the UI may POST/PUT a section or image whenever one is added or edited to a Hearing.

Deleting sections or images should not be allowed inlined in the hearing endpoint.

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

No branches or pull requests

1 participant