ListClasses

This request returns a list of classes available to the user.

If no parameters are included in the request, all classes available to the user are returned. If values for project is included, the returned list will be filtered accordingly.

Request URL

GET https://use.cloudshare.com/Api/v2/Admin/ListClasses?projectFilter=<project>&token=<token>&timestamp=<time>&UserApiId=<id>&HMAC=<signature>

Parameters

projectFilter
optional
A name of a specific project, to filter the result list.
Example: Automation

Response example

{
    "data": {
        [ {
                "Name": "Training Demo",
                "ClassId": "T0JCP2VQ1XHA",
                "StartDate": "08/17/2014 12:52PM",
                "EndDate": "08/24/2014 12:52PM",
                "InstructorEmail": "training@qa.com",
                "Status": "in session",
                "TimeZone": "(UTC-05:00) Eastern Time (US & Canada)",
            },
            {
                "Name": "Training Demo2",
                "ClassId": "CO4iSfAH3tHsWDcz3d0zO7rQ2",
                "StartDate": "08/17/2018 12:52PM",
                "EndDate": "08/24/2017 12:52PM",
                "InstructorEmail": "training@qa.com",
                "Status": "has not started",
                "TimeZone": "(UTC-05:00) Eastern Time (US & Canada)",
            }
        ]
    },
    "remaining__calls": 99992,
    "status_additional_data": null,
    "status_code": "0x20000",
    "status_text": "Success"
}