Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 3.1 KB

File metadata and controls

54 lines (48 loc) · 3.1 KB

Zernio::UpdatePostRequest

Properties

Name Type Description Notes
title String Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted). [optional]
content String [optional]
media_items Array<MediaItem> [optional]
platforms Array<UpdatePostRequestPlatformsInner> Target platforms and accounts for this post. Each item must include platform and accountId. [optional]
scheduled_for Time [optional]
publish_now Boolean [optional][default to false]
is_draft Boolean When omitted, the post keeps its current draft status. Send `false` to promote a draft to scheduled (combined with `scheduledFor`, `publishNow`, or a queue). [optional]
timezone String [optional]
visibility String [optional]
tags Array<String> [optional]
hashtags Array<String> Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead. [optional]
mentions Array<String> [optional]
crossposting_enabled Boolean [optional]
metadata Hash<String, Object> [optional]
queued_from_profile String Profile ID to schedule via queue. [optional]
queue_id String Specific queue ID to use when scheduling via queue. [optional]
tiktok_settings TikTokPlatformData Root-level TikTok settings applied to the TikTok platforms sent in the same request. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. Returns 400 if sent without a platforms array. [optional]
facebook_settings FacebookSettings Root-level Facebook settings applied to the Facebook platforms sent in the same request. Merged into each platform's platformSpecificData.facebookSettings, with platform-specific settings taking precedence. Returns 400 if sent without a platforms array. [optional]
recycling RecyclingConfig [optional]

Example

require 'zernio-sdk'

instance = Zernio::UpdatePostRequest.new(
  title: null,
  content: null,
  media_items: null,
  platforms: null,
  scheduled_for: null,
  publish_now: null,
  is_draft: null,
  timezone: null,
  visibility: null,
  tags: null,
  hashtags: null,
  mentions: null,
  crossposting_enabled: null,
  metadata: null,
  queued_from_profile: null,
  queue_id: null,
  tiktok_settings: null,
  facebook_settings: null,
  recycling: null
)