user_info
GET /api/v2/user_info/
Changed onRetrieve and update the current authenticated user's profile and permissions.
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or API key in cookie sessionid
Response
User Info required
Serializer for the authenticated user's own profile and permissions.
id, integer required
username, string required
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
first_name, string
last_name, string
email, string email required
user_permissions, string[] required
is_staff, boolean required
Designates whether the user can log into this admin site.
is_superuser, boolean required
Designates that this user has all permissions without explicitly assigning them.
date_joined, string date-time required
language, union
otherinfo, string
notify_vote_code_requests, boolean
notify_program_events, boolean
notify_compo_starts, boolean
notify_competition_starts, boolean
Changes
- info
added the optional property
otherinfoto the response with the status
- info
- warning
removed the optional property
notify_programme_eventsfrom the response with the status - info
added the optional property
notify_program_eventsto the response with the status
- warning