Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit 182cd12

Browse files
committed
update machines show sample result to show events
1 parent 86cae6b commit 182cd12

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

lib/machines/show.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,35 @@ var assign = require('lodash.assign');
5656
* "teamId": "te456def"
5757
* "scriptId": "sc123abc"
5858
* "dtLastRun": "2017-06-30T07:22:49.763Z"
59+
* "events": [
60+
* {
61+
* "name": "start",
62+
* "state": "done",
63+
* "errorMsg": "",
64+
* "handle": "8ebe43dd-57c8-4bd4-b770-86b7fd0202e4",
65+
* "dtModified": "2017-08-16T14:36:24.802Z",
66+
* "dtFinished": null,
67+
* "dtCreated": "2017-08-16T14:36:18.373Z"
68+
* },
69+
* {
70+
* "name": "start",
71+
* "state": "error",
72+
* "errorMsg": "Uh oh. This machine type can't start due to insufficient capacity or higher than normal demand. Please try again later.",
73+
* "handle": "f6adb486-f5ae-4ab3-9a1a-51c19df5b337",
74+
* "dtModified": "2017-06-09T15:32:38.115Z",
75+
* "dtFinished": "2017-06-09T15:32:38.115Z",
76+
* "dtCreated": "2017-06-09T15:32:37.019Z"
77+
* },
78+
* {
79+
* "name": "stop",
80+
* "state": "done",
81+
* "errorMsg": "",
82+
* "handle": "e352ad96-734f-4a26-8829-007c2f1d89f2",
83+
* "dtModified": "2017-06-03T04:14:01.327Z",
84+
* "dtFinished": null,
85+
* "dtCreated": "2017-06-03T04:13:47.885Z"
86+
* }
87+
* ]
5988
* }
6089
*/
6190

0 commit comments

Comments
 (0)