I have read youtube API docs and I am unable to find how to report a channel. I have found only endpoint responsible for reporting videos https://developers.google.com/youtube/v3/docs/videos/reportAbuse. Is it possible to create function like mine, but to report not videos, but channel based on its id?
def yt_report_livestream(video_id):
URL = f"https://youtube.googleapis.com/youtube/v3/videos/reportAbuse?alt=json"
payload = {
"videoId": video_id,
"comments": "Scam",
"reasonId": "S",
"secondaryReasonId": "31",
}
payload_json = json.dumps(payload)
response = requests.post(
url=URL,
data=payload_json,
headers=OAUTH_HEADER,
proxies=proxyDict,
verify=False,
)