You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example above, a session will be opened for the specified space Default, of course if password was correct. In case of incorrect password or public spaces, error will be thrown.
40
+
Some hash computations are applied to the password before it is sent to the server.
36
41
37
42
38
43
### Commands
@@ -53,24 +58,87 @@ Retrieving server status...
53
58
STATUS:
54
59
StatusCode: OK
55
60
StatusMessage: Server is OK
56
-
ServerVersion:1.2.0.0
61
+
ServerVersion:1.3.0.0
62
+
```
63
+
64
+
65
+
#### Retrieve spaces list
66
+
A list of all spaces will be displayed. This command doesn't require authorization.
67
+
68
+
```bash
69
+
ems-cmd listspaces http://192.168.100.200:6330
70
+
```
71
+
###### Parameters
72
+
This command has no additional parameters
73
+
74
+
###### Output
57
75
```
76
+
Available spaces:
77
+
* closed one
78
+
Default
79
+
Listing done
80
+
```
81
+
Asterisk `*` means that the space requires an authorization.
82
+
83
+
84
+
#### Space status
85
+
Returns specified space status. This command may require authorization if space is password protected.
This command will start specified task and wait until it is done.
62
109
63
110
To start the task you need to know space name and the task ID.
64
111
Make sure to check the task execution server log to determine task execution info.
112
+
113
+
65
114
```
66
115
ems-cmd run http://192.168.100.200:6330 -space Default -taskID 59b824f0-4b81-453f-b9e0-1c58b97c9fb9
67
116
```
68
117
###### Parameters
69
118
*`-space` - space name, e.g. `Default`
70
119
*`-taskID` - task guid.
120
+
*`-param:XXX ZZ` - set task parameter `XXX` with value `ZZ`.
71
121
72
122
Task guid can be found in the browser location toolbar. E.g, if you have clicked on the edit task link, your browser location seems to be `http://localhost:6330/default/tasks/edit/59b824f0-4b81-453f-b9e0-1c58b97c9fb9`, where `59b824f0-4b81-453f-b9e0-1c58b97c9fb9` - is a desired value
73
123
124
+
If you want to pass (or override) parameters that were defined in morph project, add `-param:XXX ZZ` to ems-cmd execution line.
125
+
Where `XXX` is a parameter name and `ZZ` is a parameter value.
126
+
At least one space between parameter name and parameter value is required.
127
+
128
+
129
+
E.g. If you've defined parameter `Timeout` in your morph project, and want to set it to 73 use `-param:Timeout 73`. Pay attention, that parameters are case sensitive.
130
+
131
+
132
+
Examples:
133
+
134
+
135
+
Set parameter `Rounds` to `10` : `-param:Timeout 73`
136
+
137
+
Set parameter `Full name` to `John Smith` : `-param:"Full name" "John Smith"`
138
+
139
+
Set parameter `From Date` to the `10th of December 2000` : `-param:"From Date" "2000-12-10"` (ISO 8601 date format)
140
+
141
+
74
142
###### Output
75
143
```
76
144
Attempting to start task 59b824f0-4b81-453f-b9e0-1c58b97c9fb9
*`-param:XXX ZZ` - set task parameter `XXX` with value `ZZ`.
94
163
95
164
Task guid can be found in the browser location toolbar. E.g, if you have clicked on the edit task link, your browser location seems to be `http://localhost:6330/default/tasks/edit/59b824f0-4b81-453f-b9e0-1c58b97c9fb9`, where `59b824f0-4b81-453f-b9e0-1c58b97c9fb9` - is a desired value
96
165
166
+
If you want to pass (or override) parameters that were defined in morph project, add `-param:XXX ZZ` to ems-cmd execution line.
167
+
Where `XXX` is a parameter name and `ZZ` is a parameter value.
168
+
At least one space between parameter name and parameter value is required.
169
+
170
+
171
+
E.g. If you've defined parameter `Timeout` in your morph project, and want to set it to 73 use `-param:Timeout 73`. Pay attention, that parameters are case sensitive.
172
+
173
+
174
+
Examples:
175
+
176
+
177
+
Set parameter `Rounds` to `10` : `-param:Timeout 73`
178
+
179
+
Set parameter `Full name` to `John Smith` : `-param:"Full name" "John Smith"`
180
+
181
+
Set parameter `From Date` to the `10th of December 2000` : `-param:"From Date" "2000-12-10"` (ISO 8601 date format)
182
+
183
+
97
184
###### Output
98
185
```
99
186
Attempting to start task 59b824f0-4b81-453f-b9e0-1c58b97c9fb9
0 commit comments