Return user information.
- username: str - username of a student
- UserResultJson - user information
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List user's lunch profiles
- username: str - username of a student
- UserLaunchProfilesResult - information about user launch profiles
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List all or user's enrollments
- form: ListEnrollmentsForm - needs courseId, username
- username: Optional[str] - if you want to list enrollments for a specific user
- EnvironmentEnrollmentResult - list of enrollments
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Load enrollments into awsed.ucsd.edu
- csv_content: str - a properly formated csv string
- dry_run: bool = False - weather r not to actually intitiate the enrollment import
- bool - always True if posted successfuly
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List pools configured under a pool root
- pool_root_name: str - name of pool root
- PoolsResult - list of pool roots information
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Associate a course with an environment
- course_name: str - course ID
- course_environment: AssociateCourseEnvironmentRequestBody - required environment, status and notes
- bool - always True if posted successfuly
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Describe a course environment
- course: str - course ID
- environment: str - environment name
- CourseEnvironmentResult - information about course environment
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Update a course environment
- course: str - course ID
- environment: str - environment name
- modification: ModifyCourseEnvironmentRequestBody - includes status and notes
- bool - always True if posted successfuly
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List course environments
- request: ListCourseEnvironmentsRequestBody - includes status, subject, term and authentication
- ListCourseEnvironmentsResultJson - list of courses
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Generate AWS credentials for a user
- course: str - course ID
- role: str - role of a user
- bool - always True if posted successfuly
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List active courses
- username: str = None - optional to list all courses for a given user
- tag: str = None - optional to list all courses with a given tag
- ListCoursesResultJson - list of CoursesJson data
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Create a course
- course: CourseRequestJson - including name, studentRole, instructorRole, awsCredentialId, grader, fileSystem, active, snowTicket, quarter, subject, courseNumber, instructor and instructorEmail
- bool - always True if posted successfuly
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List launch profiles for a course
- course: str - course ID
- ListLaunchProfilesJson - list of LaunchProfileJson containing launch profiles data
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Create a lunch profile fo a course
- course: str - course ID
- launch_profile: LaunchProfileRequestJson - including launchProfileName, courseName, applicationName and playerName
- bool - always True if posted successfuly
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Describe a course
- course: str - course ID
- CourseResult - course information
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
Update course info
- course: str - course ID
- course_data: CourseRequestJson - including name, studentRole, instructorRole, awsCredentialId, grader, fileSystem, active, snowTicket, quarter, subject, courseNumber, instructor and instructorEmail
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
- course: str - course ID
- TeamsResult - list of TeamResult with teams data
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List enrollments for environment
- slug: str - course ID
- EnvironmentJson - list of Environment's volumes
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List enrollments for environment
- slug: str - course ID
- EnvironmentEnrollmentResult - list of enrollments for the environment
- requests.exceptions.HTTPError - raises error when call result code is not 2xx
List teams for a username
- username: str - user's username
- TeamsResult - list of TeamResult with teams data
- requests.exceptions.HTTPError - raises error when call result code is not 2xx