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

Move to single endpoints #22

Open
JKetelaar opened this issue Feb 16, 2017 · 0 comments
Open

Move to single endpoints #22

JKetelaar opened this issue Feb 16, 2017 · 0 comments
Assignees

Comments

@JKetelaar
Copy link
Member

Yes, we've had some bad coding; creating, editing or gathering an entity all has their own endpoints, this should be merged into one with method types.

Current example:

[GET] /api/entity/get
[POST] /api/entity/create
[POST] /api/entity/update
[POST] /api/entity/delete

Should be:

[GET] /api/entity
[POST] /api/entity
[PUT] /api/enity
[DELETE] /api/enity
@JKetelaar JKetelaar self-assigned this Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant