From e1168e11450a6580d42eedc94ce72040bcfea9b5 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Fri, 16 Oct 2015 15:32:07 -0700 Subject: [PATCH] Update API docs to include "domain" key for get vm requests --- API.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/API.md b/API.md index be2fe1f..0abd0e8 100644 --- a/API.md +++ b/API.md @@ -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" } ```