Module

frontend/src/api/routes/users/users

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

View Source frontend/src/api/routes/users/users.js, line 23

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

View Source frontend/src/api/routes/users/users.js, line 11

Array of objects containing ssotId, robotName and starterId of each found robot
Array