{ "opencollection": "1.0.0", "info": { "name": "Twitch Drops Ads Users API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://id.twitch.tv/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Twitch Get Users", "type": "http" }, "http": { "method": "GET", "url": "https://api.twitch.tv/helix/users", "headers": [ { "name": "Client-Id", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "login", "value": "", "type": "query" } ] }, "docs": "Gets information about one or more Twitch users." }, { "info": { "name": "Twitch Update User", "type": "http" }, "http": { "method": "PUT", "url": "https://api.twitch.tv/helix/users", "headers": [ { "name": "Client-Id", "value": "" } ], "params": [ { "name": "description", "value": "", "type": "query" } ] }, "docs": "Updates the authenticated user's information." }, { "info": { "name": "Twitch Get User Block List", "type": "http" }, "http": { "method": "GET", "url": "https://api.twitch.tv/helix/users/blocks", "headers": [ { "name": "Client-Id", "value": "" } ], "params": [ { "name": "broadcaster_id", "value": "", "type": "query" }, { "name": "first", "value": "", "type": "query", "description": "Maximum number of items to return" }, { "name": "after", "value": "", "type": "query", "description": "Cursor for forward pagination" } ] }, "docs": "Gets the list of users the authenticated user has blocked." }, { "info": { "name": "Twitch Block User", "type": "http" }, "http": { "method": "PUT", "url": "https://api.twitch.tv/helix/users/blocks", "headers": [ { "name": "Client-Id", "value": "" } ], "params": [ { "name": "target_user_id", "value": "", "type": "query" }, { "name": "source_context", "value": "", "type": "query" }, { "name": "reason", "value": "", "type": "query" } ] }, "docs": "Blocks the specified user from interacting with the broadcaster." }, { "info": { "name": "Twitch Unblock User", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.twitch.tv/helix/users/blocks", "headers": [ { "name": "Client-Id", "value": "" } ], "params": [ { "name": "target_user_id", "value": "", "type": "query" } ] }, "docs": "Removes the user from the broadcaster's block list." } ] } ], "bundled": true }