We were uploading videos and disabling comments in YouTube v2 via the access control elements:
<yt:accessControl action="list" permission="denied"/>
<yt:accessControl action="comment" permission="denied"/>
<yt:accessControl action="rate" permission="denied"/>
But now we have to migrate to v3 APIs and I do not see a way to accomplish the same thing.
I only see the following fields that are updatable:
snippet.title
snippet.description
snippet.tags[]
snippet.categoryId
status.embeddable
status.license
status.publicStatsViewable
status.publishAt
status.privacyStatus
recordingDetails.locationDescription
recordingDetails.location.latitude
recordingDetails.location.longitude
recordingDetails.recordingDate
I do not see what the description for these fields are but the fields in the status part look promising but I don't know what valid values are for those fields.
Is it possible to disable comments and ratings in the version 3 API?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…