Methods
# async inner changeSsotName(robotId, newRobotName) → {Object}
Rename the robot in the ssot
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | RobotId of the robot that will be renamed |
newRobotName |
String | String with the new RobotName |
Object containing robotName and starterId
Object
# async inner deleteRobotFromDB(robotId) → {Object}
Delete a robot by sending a call to the backend
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot that will be deleted |
Mongoose query describing execution of call
Object
# async inner getParsedRobotFile() → {String}
Triggers parsing of the ssot to .robot file
.robot file code
String
# async inner getSsot(robotId) → {Object}
Fetch the ssot correlating to the specified Id
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot that will be retrieved |
Found ssot
Object
# async inner updateRobot(robotId, ssot) → {Object}
Overwrites an existing sssot in the backend with a new one
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot that will be overwritten |
ssot |
String | New ssot that will be written to the database |
Updated ssot object
Object