Skip to main content

following

Overview

Namefollowing
TypeResource
Idgithub.users.following

Fields

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

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.