8000 Add functionality to /server endpoint to be capable of recieving DELETE requests. · Issue #18 · district13labs/mc-aws · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add functionality to /server endpoint to be capable of recieving DELETE requests. #18

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

Open
herczogzoltan opened this issue Dec 3, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@herczogzoltan
Copy link
Collaborator
herczogzoltan commented Dec 3, 2019

Context

As a user, I want to be able to remove a previously launched server by calling an endpoint.

In order to be able to communicate with the server we need to have an endpoint, we call it /server/{:id}.
Through this endpoint we can delete a server by sending a DELETE request with an existing :id.
The :id parameter should be the ARN for the EC2 instance.

Acceptance criteria

Capable of receiving a DELETE request
HTTP Status code for a successful action is 200.
HTTP Status code if :id is wrong is 204.
The response body should be empty.

Deleting a server means to terminate the AWS instance and also remove the stored information from the application's database.

Technical recommendation

@saxumVermes saxumVermes added the enhancement New feature or request label Dec 3, 2019
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

2 participants
0