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

Add delete endpoint for options from questions #372

Open
aniri opened this issue Dec 6, 2020 · 1 comment · May be fixed by #389
Open

Add delete endpoint for options from questions #372

aniri opened this issue Dec 6, 2020 · 1 comment · May be fixed by #389

Comments

@aniri
Copy link
Member

aniri commented Dec 6, 2020

This will be used when editing forms.

Add a new endpoint DELETE ​/api​/v1​/form​/section​/{sectionId}/question/{questionId}/option/{optionId}

When called, the link between the option and the question should be removed from the optionsToQuestions table.

If that option was not used by other questions, it should also be removed from the options table.

@DSVDavid
Copy link
Contributor

DSVDavid commented Nov 6, 2021

I can take this

@DSVDavid DSVDavid linked a pull request Jan 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants