-
Notifications
You must be signed in to change notification settings - Fork 377
Blocks Resource
joshtabak edited this page Sep 24, 2012
·
4 revisions
GET /users/:login/blocks
(Authenticated, Scope:user_blocks_read)
[
{
"name": "hebo",
"created_at": "2011-03-19T15:42:22Z",
"updated_at": "2012-06-14T00:14:27Z",
"_links": {
"self": "https://api.twitch.tv/kraken/users/hebo"
},
"logo": "http://static-cdn.jtvnw.net/jtv_user_pictures/hebo-profile_image-6947308654ad603f-300x300.jpeg",
"_id": 21229404,
"display_name": "Hebo"
},
...
]
PUT /users/:login/blocks/:user
(Authenticated, Scope:user_blocks_edit)
:login
is the authenticated user's login, :user
is the login of the user being blocked
There is no response body for this endpoint.
DELETE /users/:login/blocks/:user
(Authenticated, Scope:user_blocks_edit)
:login
is the authenticated user's login, :user
is the login of the user being unblocked
There is no response body for this endpoint.