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

Expose Database models in web API #77

Closed
5 tasks done
nphilipp opened this issue Nov 3, 2021 · 1 comment
Closed
5 tasks done

Expose Database models in web API #77

nphilipp opened this issue Nov 3, 2021 · 1 comment
Labels
API database concerning database models, migration, … epic An umbrella item, tracking other issues

Comments

@nphilipp
Copy link
Collaborator

nphilipp commented Nov 3, 2021

Story

As a user of Duffy,
I want to be able to manage the various objects via the API,
because doing this with a DB CLI tool plain sucks.

Acceptance Criteria

API endpoints exist to add/edit/delete…

Background

Individual endpoints should provide a “RESTful” API, i.e. fulfil these acceptance criteria:

# Acceptance Criteria

Implement…
- [ ] a `GET` method to list items of the type
- [ ] a `POST` method to create new items of the type
- [ ] a `DELETE` method to delete items of a type (only where applicable?)
@nphilipp nphilipp created this issue from a note in Q4/2021 Initiative (New / Unrefined) Nov 3, 2021
@nphilipp nphilipp added API database concerning database models, migration, … labels Nov 3, 2021
@nphilipp nphilipp moved this from New / Unrefined to To do in Q4/2021 Initiative Nov 3, 2021
@nphilipp nphilipp added the epic An umbrella item, tracking other issues label Nov 8, 2021
@BenCapper BenCapper mentioned this issue Nov 8, 2021
4 tasks
@nphilipp nphilipp changed the title Expose Database models Expose Database models in web API Nov 9, 2021
@nphilipp nphilipp moved this from To do to In Review in Q4/2021 Initiative Dec 1, 2021
@nphilipp nphilipp moved this from In Review to Done in Q4/2021 Initiative Dec 6, 2021
@nphilipp
Copy link
Collaborator Author

nphilipp commented Dec 8, 2021

Closing this as all tracked issues are done.

@nphilipp nphilipp closed this as completed Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API database concerning database models, migration, … epic An umbrella item, tracking other issues
Projects
No open projects
Development

No branches or pull requests

1 participant