Check if a person is followed by the authenticated user
GET
/user/following/{username} https://api.github.com
Parameters
path Path Parameters
| Name | Type |
|---|---|
username
required
The handle for the GitHub user account. | string |
Responses
204
if the person is followed by the authenticated user
unknown
Redirects
304
Not modified
unknown
Client Errors
401 application/json
Requires authentication
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
403 application/json
Forbidden
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
404 application/json
if the person is not followed by the authenticated user
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}