Merge pull request #136 from briancain/master

Update API docs to include "domain" key for get vm requests
This commit is contained in:
Scott Schneider 2015-10-20 14:58:34 -05:00
commit 12da1e07d2

9
API.md
View file

@ -106,7 +106,8 @@ $ curl -d '{"debian-7-i386":"2","debian-7-x86_64":"1"}' --url vmpooler.company.c
},
"debian-7-x86_64": {
"hostname": "y91qbrpbfj6d13q"
}
},
"domain": "company.com"
}
```
@ -122,7 +123,8 @@ $ curl -d --url vmpooler.company.com/api/v1/vm/debian-7-i386
"ok": true,
"debian-7-i386": {
"hostname": "fq6qlpjlsskycq6"
}
},
"domain": "company.com"
}
```
@ -143,7 +145,8 @@ $ curl -d --url vmpooler.company.com/api/v1/vm/debian-7-i386+debian-7-i386+debia
},
"debian-7-x86_64": {
"hostname": "zb91y9qbrbf6d3q"
}
},
"domain": "company.com"
}
```