Skip to main content

following

Overview

Namefollowing
TypeResource
Idgithub.users.following

Fields

NameDatatype
idinteger
namestring
avatar_urlstring
emailstring
events_urlstring
followers_urlstring
following_urlstring
gists_urlstring
gravatar_idstring
html_urlstring
loginstring
node_idstring
organizations_urlstring
received_events_urlstring
repos_urlstring
site_adminboolean
starred_atstring
starred_urlstring
subscriptions_urlstring
typestring
urlstring

Methods

NameAccessible byRequired ParamsDescription
list_followed_by_authenticated_userSELECTLists the people who the authenticated user follows.
list_following_for_userSELECTusernameLists the people who the specified user follows.
check_following_for_userEXECtarget_user, username
check_person_is_followed_by_authenticatedEXECusername
followEXECusernameNote that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see "HTTP verbs."

Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the user:follow scope.
unfollowEXECusernameUnfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the user:follow scope.