8000 Add functionality to /server endpoint to be capable of recieving GET requests. · Issue #13 · 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 GET requests. #13

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 request all the information stored for the related EC2 server instance using an endpoint providing a unique identifier

Acceptance criteria

Calling the /server/{:id} endpoint of the application with GET method will return the Public IPv4 address, AWS ARN, status (running, stopped etc.) and the region for the related AWS EC2 instance. The format should be in JSON.
For a successful request, the HTTP Status code should be 200.
When there's no EC2 server instance in the application's Database with the given ARN, the HTTP Status code should be 404.

The :id parameter should be the ARN for the EC2 instance

Technical recommendations

@herczogzoltan herczogzoltan 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

1 participant
0