Change /containers to /state with machine info

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2015-12-03 11:49:56 -08:00
parent 3ea5dd79e0
commit c1eb9ac90b
5 changed files with 56 additions and 10 deletions

View file

@ -13,7 +13,6 @@ Add a process:
```bash
curl -s -XPUT localhost:8888/containers/redis/process -d@process.json | json_pp
{
"pid" : 25671,
"user" : {
"gid" : 0,
"uid" : 0
@ -31,10 +30,10 @@ curl -s -XPUT localhost:8888/containers/redis/process -d@process.json | json_pp
```
Get containers:
Get containers and state:
```bash
curl -s localhost:8888/containers | json_pp
curl -s localhost:8888/state | json_pp
{
"containers" : [
{