UNPKG

caccl-api

Version:

A class that defines a set of smart Canvas endpoints that actually behave how you'd expect them to.

34 lines (32 loc) 931 B
interface CanvasUserProfile { // The ID of the user. id: number, // Sample User name: string, // Sample User short_name: string, // user, sample sortable_name: string, title?: string, bio?: string, // sample_user@example.com primary_email: string, // sample_user@example.com login_id: string, // sis1 sis_user_id?: string, lti_user_id?: string, // The avatar_url can change over time, so we recommend not caching it for more // than a few hours avatar_url?: string, calendar?: string, // Optional: This field is only returned in certain API calls, and will return // the IANA time zone name of the user's preferred timezone. time_zone?: string, // The users locale. locale?: string, // Optional: Whether or not the user is a K5 user. This field is nil if the user // settings are not for the user making the request. k5_user?: boolean, } export default CanvasUserProfile;