Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.23 KB

File metadata and controls

28 lines (22 loc) · 1.23 KB

Zernio::WebhookPayloadPostPlatformPlatform

Properties

Name Type Description Notes
name String Platform name (e.g. `twitter`, `tiktok`, `instagram`).
status String Terminal status this event fires on. Matches the event suffix.
platform_post_id String Platform-native post id. Present on `published` and `deleted`, absent on `failed`. [optional]
published_url String Public URL to the platform-side post. Present on `published` (when the platform exposes one and it is not a draft) and on `deleted` (when one was recorded at publish time). [optional]
error String Error message from the platform. Present on `failed` only. [optional]
deleted_at Time When the platform-side deletion was detected by Zernio sync (ISO 8601). Present only on `post.platform.deleted`. [optional]

Example

require 'zernio-sdk'

instance = Zernio::WebhookPayloadPostPlatformPlatform.new(
  name: null,
  status: null,
  platform_post_id: null,
  published_url: null,
  error: null,
  deleted_at: null
)