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

REST should have a GET all endpoint #68

Closed
dalssoft opened this issue Oct 11, 2021 · 3 comments
Closed

REST should have a GET all endpoint #68

dalssoft opened this issue Oct 11, 2021 · 3 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@dalssoft
Copy link
Member

Currently:

'items' endpoints
    GET /items/:id -> Find one Item
    POST /items -> Create Item
    PUT /items/:id -> Update Item
    DELETE /items/:id -> Delete Item

It should be:

'items' endpoints
    GET /items/ -> Find Item     // Return all Items. Could be the same UC as [GET /items/:id]
    GET /items/:id -> Find Item
    POST /items -> Create Item
    PUT /items/:id -> Update Item
    DELETE /items/:id -> Delete Item

ps: Already described in #61, but this issue is related to the endpoint only (not the UC that will give support to run).

@dalssoft dalssoft added the bug Something isn't working label Oct 11, 2021
@italojs
Copy link
Member

italojs commented Oct 11, 2021

duplicated #21

@italojs italojs added the duplicate This issue or pull request already exists label Oct 11, 2021
@italojs italojs closed this as completed Oct 11, 2021
@dalssoft
Copy link
Member Author

The other issues and PRs are already closed and merged but the feature is not there. What happened?

@italojs
Copy link
Member

italojs commented Oct 12, 2021

sorry, what PRs and issues? the #21 still opened

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants