UserInfo
UserInfo contains just the display information for a user. This information may be returned from public APIs, and as such this structure must not contain sensitive information. Please refer to User for this sort of thing.
Properties
namestring requiredThe user’s display name.githubLoginstring requiredThe user’s login name.avatarUrlstring requiredThe URL of the user’s avatar image.emailstring optionalThe user’s email address. It is only populated on selected endpoints and is omitted from most responses. Treat it as sensitive information.