Merge "Fix api-ref for container execute"
This commit is contained in:
commit
499eb440d7
@ -1035,9 +1035,10 @@ Response
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
There are two possible responses. If the run parameter is set to true,
|
If the run parameter is set to true, the output will be
|
||||||
the output will be {"output": "...", "exit_code": "..."}. Otherwise,
|
{"output": "...", "exit_code": "...", "exec_id": None, "url": None}.
|
||||||
the output will be {"exec_id": "...", "url": "..."}.
|
Otherwise, the output will be
|
||||||
|
{"output": None, "exit_code": None, "exec_id": "...", "url": "..."}.
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{
|
{
|
||||||
|
"output": null,
|
||||||
|
"exit_code": null,
|
||||||
"url": "tcp://172.16.1.45:2375",
|
"url": "tcp://172.16.1.45:2375",
|
||||||
"exec_id": "3c851c568fc9f21bdb77b7ba98eb1c6ae0c901f56dfb1471de4d6af7c73dbf4d"
|
"exec_id": "3c851c568fc9f21bdb77b7ba98eb1c6ae0c901f56dfb1471de4d6af7c73dbf4d"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{
|
{
|
||||||
"output": "Mon Oct 9 09:09:32 UTC 2017\n",
|
"output": "Mon Oct 9 09:09:32 UTC 2017\n",
|
||||||
"exit_code": 0
|
"exit_code": 0,
|
||||||
|
"exec_id": null,
|
||||||
|
"url": null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user