Update API docs to include "domain" key for get vm requests

This commit is contained in:
Brian Cain 2015-10-16 15:32:07 -07:00
parent d9724b698c
commit e1168e1145

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": { "debian-7-x86_64": {
"hostname": "y91qbrpbfj6d13q" "hostname": "y91qbrpbfj6d13q"
} },
"domain": "company.com"
} }
``` ```
@ -122,7 +123,8 @@ $ curl -d --url vmpooler.company.com/api/v1/vm/debian-7-i386
"ok": true, "ok": true,
"debian-7-i386": { "debian-7-i386": {
"hostname": "fq6qlpjlsskycq6" "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": { "debian-7-x86_64": {
"hostname": "zb91y9qbrbf6d3q" "hostname": "zb91y9qbrbf6d3q"
} },
"domain": "company.com"
} }
``` ```