Commit e0ae42d8 authored by Łukasz Nowak's avatar Łukasz Nowak

Correct json

parent 75fd4e9d
...@@ -117,19 +117,22 @@ Request a new instantiation of a software. ...@@ -117,19 +117,22 @@ Request a new instantiation of a software.
`Expected Request Body`:: `Expected Request Body`::
{ {
"status": "started",
"slave": false,
"title": "My unique instance", "title": "My unique instance",
"software_release": "http://example.com/example.cfg", "software_release": "http://example.com/example.cfg",
"software_type": "type_provided_by_the_software", "software_type": "type_provided_by_the_software",
"slave": False, # one of: True or False
"status": "started", # one of: started, stopped
"parameter": { "parameter": {
"Custom1": "one string", "Custom1": "one string",
"Custom2": "one float", "Custom2": "one float",
"Custom3": ["abc", "def"], "Custom3": [
}, "abc",
"def"
]
},
"sla": { "sla": {
"computer_id": "COMP-0", "computer_id": "COMP-0"
} }
} }
`Expected Response`:: `Expected Response`::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment