| Apr | MAY | Jun |
| 13 | ||
| 2017 | 2018 | 2019 |
COLLECTED BY
Collection: University of Oklahoma Libraries
Accept header:
application/vnd.github.giant-sentry-fist-preview+json
Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub support.
GET /user/blocks
Status: 200 OK
[
{
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"site_admin": false
}
]
GET /user/blocks/:username
Status: 204 No Content
If the user is not blocked:
Status: 404 Not Found
PUT /user/blocks/:username
Status: 204 No Content
DELETE /user/blocks/:username
Status: 204 No Content