Created
September 26, 2014 16:04
-
-
Save nadeesha/ac2a392ec96d3ba2d034 to your computer and use it in GitHub Desktop.
ceresi API spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check status | |
GET http://192.168.59.103:8080/api/status | |
Get all the users' packages | |
GET http://192.168.59.103:8080/api/v1/npm/packages | |
Install a package in the app | |
PUT http://192.168.59.103:8080/api/v1/npm/install/:package | |
Issue a request to a pakcage | |
POST http://192.168.59.103:8080/api/v1/:package/:action | |
If the action is async, it'll return 202 with an id. | |
Polling this endpoint with that id would resturn the status PENDING or DONE | |
http://192.168.59.103:8080/api/v1/tasks/:id | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Provisioner Agent API Spec
POST - host:7070/provision { username : "pasinndu" , | force : true }
Response
{
"status" : "done" | "already exsits" | "forced created",
}