GET /api/v3/class/ID/students/ID

Retrieves information about a student in a class, including the student’s environment and VMs

Request Path

GET /api/v3/class/{classId}/students/{studentId}

Request Payload

None

Parameters

{classId} The ID of the class
{studentId} The ID of a student in the class

Response Example

{
       "vms": [
           {
               "id": "MCenC7qMgpzbZMd9EP_fwfWA2",
               "name": "machine 1"
           }
       ],
       "status": 2,
       "envStatus": 2,
       "envCommands": [
           "Suspend",
           "RevertEnv",
           "Delete"
       ],
       "envId": "ENzoOVHhh0EcRbc6SrXsBQNg2",
       "firstName": "Hector",
       "lastName": "Pounders",
       "email": "hector@cloudshare.com",
       "id": "SDcJ5YHCfmKWXGgHJdiK0UEQ2"
}