Skip to main content

following

Overview

Namefollowing
TypeResource
Idgithub.users.following

Fields

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

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.