Set watermark
documentedUpload and set a channel watermark.
POST /watermarks/setWatermarksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://www.googleapis.com/upload/youtube/v3/watermarks/set?channelId={{$channel_id}}&onBehalfOfContentOwner={{$on_behalf_of_content_owner}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"watermark": {"timing": {"type": "{{$timing_type}}", "offsetMs": {{$offset_ms}}, "durationMs": {{$duration_ms}}}, "position": {"type": "{{$position_type}}", "cornerPosition": "{{$corner_position}}"}, "imageBytes": "{{$image_bytes_base64}}", "targetChannelId": "{{$watermark_target_channel_id}}"}}'