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 REST API root to /api #129

Open
aglitke opened this issue Sep 12, 2013 · 3 comments
Open

Move REST API root to /api #129

aglitke opened this issue Sep 12, 2013 · 3 comments
Milestone

Comments

@aglitke
Copy link
Member

aglitke commented Sep 12, 2013

The REST API should be moved to a sub-uri of /api so cherrypy configuration can be simplified. It will allow us to protect the REST API calls (with authorization) while keeping the static files accessible.

@shaohef
Copy link

shaohef commented Oct 13, 2013

do you mean we should get vm rest API like this:
GET /api/vms/vm1
?

@hlwanghl
Copy link

@shaohef I think so. APIs are prefixed by /api/. If an application is large enough, a separate REST API server may needed like api.kimchi-project.org. Though for us, /api/ is enough now.

@aglitke
Copy link
Member Author

aglitke commented Oct 14, 2013

On Sun, Oct 13, 2013 at 08:28:06AM -0700, shaohef wrote:

do you mean we should get vm rest API like this:
GET /api/vms/vm1
?

Yes.


Reply to this email directly or view it on GitHub:
#129 (comment)

Adam Litke [email protected]
IBM Linux Technology Center

@alinefm alinefm added this to the Backlog milestone Dec 3, 2014
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

4 participants