blocking
Overview
Name | blocking |
Type | Resource |
Id | github.users.blocking |
Fields
Name | Datatype |
---|---|
id | integer |
name | string |
avatar_url | string |
email | string |
events_url | string |
followers_url | string |
following_url | string |
gists_url | string |
gravatar_id | string |
html_url | string |
login | string |
node_id | string |
organizations_url | string |
received_events_url | string |
repos_url | string |
site_admin | boolean |
starred_at | string |
starred_url | string |
subscriptions_url | string |
type | string |
url | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_blocked_by_authenticated_user | SELECT | List the users you've blocked on your personal account. | |
block | EXEC | username | Blocks the given user and returns a 204. If the authenticated user cannot block the given user a 422 is returned. |
check_blocked | EXEC | username | Returns a 204 if the given user is blocked by the authenticated user. Returns a 404 if the given user is not blocked by the authenticated user, or if the given user account has been identified as spam by GitHub. |
unblock | EXEC | username | Unblocks the given user and returns a 204. |