GET
/user/following/{username}Check if a person is followed by the authenticated user
Check if a person is followed by the authenticated user
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
usernamestringrequired
The handle for the GitHub user account.
204if the person is followed by the authenticated user
304Not modified
401Requires authentication
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404if the person is not followed by the authenticated user
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 401 is returned: Requires authentication. A 403 is returned: Forbidden. A 404 is returned: if the person is not followed by the authenticated user.
Was this helpful?