Methods
# async inner createNewRobot(userId, robotName) → {Object}
Create a new robot with the specified name for the specified user
Parameters:
Name | Type | Description |
---|---|---|
userId |
String | User for which the robot will be created |
robotName |
String | Name of the new robot |
Object containing robotId and robotName
Object
# async inner fetchSsotsForUser(userId) → {Array}
Fetch all those ssot names and ids, which are available for the current user
Parameters:
Name | Type | Description |
---|---|---|
userId |
String | UserId for which the ssots will be fetched |
Array of objects containing ssotId, robotName and starterId of each found robot
Array