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 ability for multiple counters that are RESTful #4

Open
6 tasks
rofrano opened this issue Oct 19, 2020 · 0 comments
Open
6 tasks

Add ability for multiple counters that are RESTful #4

rofrano opened this issue Oct 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@rofrano
Copy link
Owner

rofrano commented Oct 19, 2020

As a: User
I need: the ability to create multiple RESTful counters
So that: I can keep track of multiple hit targets

Assumptions:

  • We will implement using REST API guidelines
  • Add ability to create multiple named counters
  • Add ability to update counters by name
  • Add ability to delete counters by name

Tasks:

  • Need to update root / URL to return json message
  • Need to rename /counter to /counters
  • Need to change GET to only return the counter
  • Need to implemtent POST to create new counters
  • Need to implement PUT to update multiple counters
  • Need to implement DELETE to delete multiple counters

Acceptance Criteria:

Given I have a multi-counter ability
When I create a counter named foo
And I update the counter named foo to 1
And I call the hit /counters/foo URL
Then I should see 1 returned from the service
@rofrano rofrano added the enhancement New feature or request label Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant