JGithubPackageUsersEmails
class JGithubPackageUsersEmails extends JGithubPackage
GitHub API References class for the Joomla Platform.
Management of email addresses via the API requires that you are authenticated through basic auth or OAuth with the user scope.
Methods
object
getList()
List email addresses for a user.
object
add(
string|array $email)
Add email address(es).
object
delete(
string|array $email)
Delete email address(es).
Details
object
getList()
List email addresses for a user.
Future response: In the final version of the API, this method will return an array of hashes with extended information for each email address indicating if the address has been verified and if it’s the user’s primary email address for GitHub.
Until API v3 is finalized, use the application/vnd.github.v3 media type to get this response format.