late-sdk 0.0.85 → 0.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/docs/PostsApi.md +3 -3
  4. data/docs/UpdatePostMetadata200Response.md +2 -0
  5. data/docs/UpdatePostMetadataRequest.md +4 -0
  6. data/docs/WebhookEventsApi.md +766 -0
  7. data/docs/WebhookPayloadAccountConnected.md +5 -3
  8. data/docs/WebhookPayloadAccountConnectedAccount.md +4 -4
  9. data/docs/WebhookPayloadAccountDisconnected.md +5 -3
  10. data/docs/WebhookPayloadAccountDisconnectedAccount.md +6 -6
  11. data/docs/WebhookPayloadComment.md +7 -5
  12. data/docs/WebhookPayloadCommentAccount.md +3 -3
  13. data/docs/WebhookPayloadCommentComment.md +9 -9
  14. data/docs/WebhookPayloadCommentCommentAuthor.md +1 -1
  15. data/docs/WebhookPayloadCommentPost.md +2 -2
  16. data/docs/WebhookPayloadMessage.md +7 -5
  17. data/docs/WebhookPayloadMessageAccount.md +3 -3
  18. data/docs/WebhookPayloadMessageConversation.md +3 -5
  19. data/docs/WebhookPayloadMessageMessage.md +10 -10
  20. data/docs/WebhookPayloadMessageMessageAttachmentsInner.md +2 -2
  21. data/docs/WebhookPayloadMessageMessageSender.md +1 -1
  22. data/docs/WebhookPayloadPost.md +5 -3
  23. data/docs/WebhookPayloadPostPost.md +5 -5
  24. data/docs/WebhookPayloadPostPostPlatformsInner.md +4 -2
  25. data/docs/WebhookPayloadTest.md +24 -0
  26. data/lib/late-sdk/api/posts_api.rb +4 -4
  27. data/lib/late-sdk/api/webhook_events_api.rb +748 -0
  28. data/lib/late-sdk/api/webhooks_api.rb +1 -1
  29. data/lib/late-sdk/models/update_post_metadata200_response.rb +11 -1
  30. data/lib/late-sdk/models/update_post_metadata_request.rb +21 -1
  31. data/lib/late-sdk/models/webhook_log.rb +2 -2
  32. data/lib/late-sdk/models/webhook_payload_account_connected.rb +69 -1
  33. data/lib/late-sdk/models/webhook_payload_account_connected_account.rb +68 -0
  34. data/lib/late-sdk/models/webhook_payload_account_disconnected.rb +69 -1
  35. data/lib/late-sdk/models/webhook_payload_account_disconnected_account.rb +92 -0
  36. data/lib/late-sdk/models/webhook_payload_comment.rb +103 -1
  37. data/lib/late-sdk/models/webhook_payload_comment_account.rb +51 -0
  38. data/lib/late-sdk/models/webhook_payload_comment_comment.rb +143 -0
  39. data/lib/late-sdk/models/webhook_payload_comment_comment_author.rb +17 -0
  40. data/lib/late-sdk/models/webhook_payload_comment_post.rb +34 -0
  41. data/lib/late-sdk/models/webhook_payload_message.rb +104 -2
  42. data/lib/late-sdk/models/webhook_payload_message_account.rb +51 -0
  43. data/lib/late-sdk/models/webhook_payload_message_conversation.rb +39 -20
  44. data/lib/late-sdk/models/webhook_payload_message_message.rb +154 -4
  45. data/lib/late-sdk/models/webhook_payload_message_message_attachments_inner.rb +34 -0
  46. data/lib/late-sdk/models/webhook_payload_message_message_sender.rb +17 -0
  47. data/lib/late-sdk/models/webhook_payload_post.rb +71 -3
  48. data/lib/late-sdk/models/webhook_payload_post_post.rb +85 -0
  49. data/lib/late-sdk/models/webhook_payload_post_post_platforms_inner.rb +44 -1
  50. data/lib/late-sdk/models/webhook_payload_test.rb +269 -0
  51. data/lib/late-sdk/version.rb +1 -1
  52. data/lib/late-sdk.rb +1 -0
  53. data/openapi.yaml +270 -29
  54. data/spec/api/posts_api_spec.rb +2 -2
  55. data/spec/models/create_webhook_settings_request_spec.rb +1 -1
  56. data/spec/models/update_post_metadata200_response_spec.rb +6 -0
  57. data/spec/models/update_post_metadata_request_spec.rb +12 -0
  58. data/spec/models/update_webhook_settings_request_spec.rb +1 -1
  59. data/spec/models/webhook_log_spec.rb +1 -1
  60. data/spec/models/webhook_payload_account_connected_spec.rb +6 -0
  61. data/spec/models/webhook_payload_account_disconnected_spec.rb +6 -0
  62. data/spec/models/webhook_payload_comment_spec.rb +6 -0
  63. data/spec/models/webhook_payload_message_conversation_spec.rb +0 -10
  64. data/spec/models/webhook_payload_message_message_spec.rb +2 -2
  65. data/spec/models/webhook_payload_message_spec.rb +6 -0
  66. data/spec/models/webhook_payload_post_post_platforms_inner_spec.rb +6 -0
  67. data/spec/models/webhook_payload_post_spec.rb +7 -1
  68. data/spec/models/webhook_payload_test_spec.rb +58 -0
  69. data/spec/models/webhook_spec.rb +1 -1
  70. data/zernio-sdk-0.0.87.gem +0 -0
  71. metadata +9 -3
  72. data/zernio-sdk-0.0.85.gem +0 -0
@@ -4,9 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **event** | **String** | | [optional] |
8
- | **account** | [**WebhookPayloadAccountConnectedAccount**](WebhookPayloadAccountConnectedAccount.md) | | [optional] |
9
- | **timestamp** | **Time** | | [optional] |
7
+ | **id** | **String** | Stable webhook event ID | |
8
+ | **event** | **String** | | |
9
+ | **account** | [**WebhookPayloadAccountConnectedAccount**](WebhookPayloadAccountConnectedAccount.md) | | |
10
+ | **timestamp** | **Time** | | |
10
11
 
11
12
  ## Example
12
13
 
@@ -14,6 +15,7 @@
14
15
  require 'late-sdk'
15
16
 
16
17
  instance = Late::WebhookPayloadAccountConnected.new(
18
+ id: null,
17
19
  event: null,
18
20
  account: null,
19
21
  timestamp: null
@@ -4,10 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) | [optional] |
8
- | **profile_id** | **String** | The profile's unique identifier this account belongs to | [optional] |
9
- | **platform** | **String** | | [optional] |
10
- | **username** | **String** | | [optional] |
7
+ | **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) | |
8
+ | **profile_id** | **String** | The profile's unique identifier this account belongs to | |
9
+ | **platform** | **String** | | |
10
+ | **username** | **String** | | |
11
11
  | **display_name** | **String** | | [optional] |
12
12
 
13
13
  ## Example
@@ -4,9 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **event** | **String** | | [optional] |
8
- | **account** | [**WebhookPayloadAccountDisconnectedAccount**](WebhookPayloadAccountDisconnectedAccount.md) | | [optional] |
9
- | **timestamp** | **Time** | | [optional] |
7
+ | **id** | **String** | Stable webhook event ID | |
8
+ | **event** | **String** | | |
9
+ | **account** | [**WebhookPayloadAccountDisconnectedAccount**](WebhookPayloadAccountDisconnectedAccount.md) | | |
10
+ | **timestamp** | **Time** | | |
10
11
 
11
12
  ## Example
12
13
 
@@ -14,6 +15,7 @@
14
15
  require 'late-sdk'
15
16
 
16
17
  instance = Late::WebhookPayloadAccountDisconnected.new(
18
+ id: null,
17
19
  event: null,
18
20
  account: null,
19
21
  timestamp: null
@@ -4,13 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) | [optional] |
8
- | **profile_id** | **String** | The profile's unique identifier this account belongs to | [optional] |
9
- | **platform** | **String** | | [optional] |
10
- | **username** | **String** | | [optional] |
7
+ | **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) | |
8
+ | **profile_id** | **String** | The profile's unique identifier this account belongs to | |
9
+ | **platform** | **String** | | |
10
+ | **username** | **String** | | |
11
11
  | **display_name** | **String** | | [optional] |
12
- | **disconnection_type** | **String** | Whether the disconnection was intentional (user action) or unintentional (token expired/revoked) | [optional] |
13
- | **reason** | **String** | Human-readable reason for the disconnection | [optional] |
12
+ | **disconnection_type** | **String** | Whether the disconnection was intentional (user action) or unintentional (token expired/revoked) | |
13
+ | **reason** | **String** | Human-readable reason for the disconnection | |
14
14
 
15
15
  ## Example
16
16
 
@@ -4,11 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **event** | **String** | | [optional] |
8
- | **comment** | [**WebhookPayloadCommentComment**](WebhookPayloadCommentComment.md) | | [optional] |
9
- | **post** | [**WebhookPayloadCommentPost**](WebhookPayloadCommentPost.md) | | [optional] |
10
- | **account** | [**WebhookPayloadCommentAccount**](WebhookPayloadCommentAccount.md) | | [optional] |
11
- | **timestamp** | **Time** | | [optional] |
7
+ | **id** | **String** | Stable webhook event ID | |
8
+ | **event** | **String** | | |
9
+ | **comment** | [**WebhookPayloadCommentComment**](WebhookPayloadCommentComment.md) | | |
10
+ | **post** | [**WebhookPayloadCommentPost**](WebhookPayloadCommentPost.md) | | |
11
+ | **account** | [**WebhookPayloadCommentAccount**](WebhookPayloadCommentAccount.md) | | |
12
+ | **timestamp** | **Time** | | |
12
13
 
13
14
  ## Example
14
15
 
@@ -16,6 +17,7 @@
16
17
  require 'late-sdk'
17
18
 
18
19
  instance = Late::WebhookPayloadComment.new(
20
+ id: null,
19
21
  event: null,
20
22
  comment: null,
21
23
  post: null,
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Social account ID | [optional] |
8
- | **platform** | **String** | | [optional] |
9
- | **username** | **String** | | [optional] |
7
+ | **id** | **String** | Social account ID | |
8
+ | **platform** | **String** | | |
9
+ | **username** | **String** | | |
10
10
 
11
11
  ## Example
12
12
 
@@ -4,15 +4,15 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Platform comment ID | [optional] |
8
- | **post_id** | **String** | Internal post ID | [optional] |
9
- | **platform_post_id** | **String** | Platform's post ID | [optional] |
10
- | **platform** | **String** | | [optional] |
11
- | **text** | **String** | Comment text content | [optional] |
12
- | **author** | [**WebhookPayloadCommentCommentAuthor**](WebhookPayloadCommentCommentAuthor.md) | | [optional] |
13
- | **created_at** | **Time** | | [optional] |
14
- | **is_reply** | **Boolean** | Whether this is a reply to another comment | [optional] |
15
- | **parent_comment_id** | **String** | Parent comment ID if this is a reply | [optional] |
7
+ | **id** | **String** | Platform comment ID | |
8
+ | **post_id** | **String** | Internal post ID | |
9
+ | **platform_post_id** | **String** | Platform's post ID | |
10
+ | **platform** | **String** | | |
11
+ | **text** | **String** | Comment text content | |
12
+ | **author** | [**WebhookPayloadCommentCommentAuthor**](WebhookPayloadCommentCommentAuthor.md) | | |
13
+ | **created_at** | **Time** | | |
14
+ | **is_reply** | **Boolean** | Whether this is a reply to another comment | |
15
+ | **parent_comment_id** | **String** | Parent comment ID if this is a reply | |
16
16
 
17
17
  ## Example
18
18
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Author's platform ID | [optional] |
7
+ | **id** | **String** | Author's platform ID | |
8
8
  | **username** | **String** | | [optional] |
9
9
  | **name** | **String** | | [optional] |
10
10
  | **picture** | **String** | | [optional] |
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Internal post ID | [optional] |
8
- | **platform_post_id** | **String** | Platform's post ID | [optional] |
7
+ | **id** | **String** | Internal post ID | |
8
+ | **platform_post_id** | **String** | Platform's post ID | |
9
9
 
10
10
  ## Example
11
11
 
@@ -4,12 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **event** | **String** | | [optional] |
8
- | **message** | [**WebhookPayloadMessageMessage**](WebhookPayloadMessageMessage.md) | | [optional] |
9
- | **conversation** | [**WebhookPayloadMessageConversation**](WebhookPayloadMessageConversation.md) | | [optional] |
10
- | **account** | [**WebhookPayloadMessageAccount**](WebhookPayloadMessageAccount.md) | | [optional] |
7
+ | **id** | **String** | Stable webhook event ID | |
8
+ | **event** | **String** | | |
9
+ | **message** | [**WebhookPayloadMessageMessage**](WebhookPayloadMessageMessage.md) | | |
10
+ | **conversation** | [**WebhookPayloadMessageConversation**](WebhookPayloadMessageConversation.md) | | |
11
+ | **account** | [**WebhookPayloadMessageAccount**](WebhookPayloadMessageAccount.md) | | |
11
12
  | **metadata** | [**WebhookPayloadMessageMetadata**](WebhookPayloadMessageMetadata.md) | | [optional] |
12
- | **timestamp** | **Time** | | [optional] |
13
+ | **timestamp** | **Time** | | |
13
14
 
14
15
  ## Example
15
16
 
@@ -17,6 +18,7 @@
17
18
  require 'late-sdk'
18
19
 
19
20
  instance = Late::WebhookPayloadMessage.new(
21
+ id: null,
20
22
  event: null,
21
23
  message: null,
22
24
  conversation: null,
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Social account ID | [optional] |
8
- | **platform** | **String** | | [optional] |
9
- | **username** | **String** | | [optional] |
7
+ | **id** | **String** | Social account ID | |
8
+ | **platform** | **String** | | |
9
+ | **username** | **String** | | |
10
10
  | **display_name** | **String** | | [optional] |
11
11
 
12
12
  ## Example
@@ -4,14 +4,13 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **platform_conversation_id** | **String** | | [optional] |
7
+ | **id** | **String** | | |
8
+ | **platform_conversation_id** | **String** | | |
9
9
  | **participant_id** | **String** | | [optional] |
10
10
  | **participant_name** | **String** | | [optional] |
11
11
  | **participant_username** | **String** | | [optional] |
12
12
  | **participant_picture** | **String** | | [optional] |
13
- | **participant_verified_type** | **String** | X/Twitter verified badge type. Only present for Twitter/X conversations. | [optional] |
14
- | **status** | **String** | | [optional] |
13
+ | **status** | **String** | | |
15
14
 
16
15
  ## Example
17
16
 
@@ -25,7 +24,6 @@ instance = Late::WebhookPayloadMessageConversation.new(
25
24
  participant_name: null,
26
25
  participant_username: null,
27
26
  participant_picture: null,
28
- participant_verified_type: null,
29
27
  status: null
30
28
  )
31
29
  ```
@@ -4,16 +4,16 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Internal message ID | [optional] |
8
- | **conversation_id** | **String** | Internal conversation ID | [optional] |
9
- | **platform** | **String** | | [optional] |
10
- | **platform_message_id** | **String** | Platform's message ID | [optional] |
11
- | **direction** | **String** | | [optional] |
12
- | **text** | **String** | Message text content | [optional] |
13
- | **attachments** | [**Array<WebhookPayloadMessageMessageAttachmentsInner>**](WebhookPayloadMessageMessageAttachmentsInner.md) | | [optional] |
14
- | **sender** | [**WebhookPayloadMessageMessageSender**](WebhookPayloadMessageMessageSender.md) | | [optional] |
15
- | **sent_at** | **Time** | | [optional] |
16
- | **is_read** | **Boolean** | | [optional] |
7
+ | **id** | **String** | Internal message ID | |
8
+ | **conversation_id** | **String** | Internal conversation ID | |
9
+ | **platform** | **String** | | |
10
+ | **platform_message_id** | **String** | Platform's message ID | |
11
+ | **direction** | **String** | | |
12
+ | **text** | **String** | Message text content | |
13
+ | **attachments** | [**Array<WebhookPayloadMessageMessageAttachmentsInner>**](WebhookPayloadMessageMessageAttachmentsInner.md) | | |
14
+ | **sender** | [**WebhookPayloadMessageMessageSender**](WebhookPayloadMessageMessageSender.md) | | |
15
+ | **sent_at** | **Time** | | |
16
+ | **is_read** | **Boolean** | | |
17
17
 
18
18
  ## Example
19
19
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **type** | **String** | Attachment type (image, video, file, sticker, audio) | [optional] |
8
- | **url** | **String** | Attachment URL (may expire for Meta platforms) | [optional] |
7
+ | **type** | **String** | Attachment type (image, video, file, sticker, audio) | |
8
+ | **url** | **String** | Attachment URL (may expire for Meta platforms) | |
9
9
  | **payload** | **Object** | Additional attachment metadata | [optional] |
10
10
 
11
11
  ## Example
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
7
+ | **id** | **String** | | |
8
8
  | **name** | **String** | | [optional] |
9
9
  | **username** | **String** | | [optional] |
10
10
  | **picture** | **String** | | [optional] |
@@ -4,9 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **event** | **String** | | [optional] |
8
- | **post** | [**WebhookPayloadPostPost**](WebhookPayloadPostPost.md) | | [optional] |
9
- | **timestamp** | **Time** | | [optional] |
7
+ | **id** | **String** | Stable webhook event ID | |
8
+ | **event** | **String** | | |
9
+ | **post** | [**WebhookPayloadPostPost**](WebhookPayloadPostPost.md) | | |
10
+ | **timestamp** | **Time** | | |
10
11
 
11
12
  ## Example
12
13
 
@@ -14,6 +15,7 @@
14
15
  require 'late-sdk'
15
16
 
16
17
  instance = Late::WebhookPayloadPost.new(
18
+ id: null,
17
19
  event: null,
18
20
  post: null,
19
21
  timestamp: null
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **content** | **String** | | [optional] |
9
- | **status** | **String** | | [optional] |
10
- | **scheduled_for** | **Time** | | [optional] |
7
+ | **id** | **String** | | |
8
+ | **content** | **String** | | |
9
+ | **status** | **String** | | |
10
+ | **scheduled_for** | **Time** | | |
11
11
  | **published_at** | **Time** | | [optional] |
12
- | **platforms** | [**Array<WebhookPayloadPostPostPlatformsInner>**](WebhookPayloadPostPostPlatformsInner.md) | | [optional] |
12
+ | **platforms** | [**Array<WebhookPayloadPostPostPlatformsInner>**](WebhookPayloadPostPostPlatformsInner.md) | | |
13
13
 
14
14
  ## Example
15
15
 
@@ -4,8 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **platform** | **String** | | [optional] |
8
- | **status** | **String** | | [optional] |
7
+ | **platform** | **String** | | |
8
+ | **status** | **String** | | |
9
+ | **platform_post_id** | **String** | | [optional] |
9
10
  | **published_url** | **String** | | [optional] |
10
11
  | **error** | **String** | | [optional] |
11
12
 
@@ -17,6 +18,7 @@ require 'late-sdk'
17
18
  instance = Late::WebhookPayloadPostPostPlatformsInner.new(
18
19
  platform: null,
19
20
  status: null,
21
+ platform_post_id: null,
20
22
  published_url: null,
21
23
  error: null
22
24
  )
@@ -0,0 +1,24 @@
1
+ # Late::WebhookPayloadTest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Stable webhook event ID | |
8
+ | **event** | **String** | | |
9
+ | **message** | **String** | Human-readable test message | |
10
+ | **timestamp** | **Time** | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'late-sdk'
16
+
17
+ instance = Late::WebhookPayloadTest.new(
18
+ id: null,
19
+ event: null,
20
+ message: null,
21
+ timestamp: null
22
+ )
23
+ ```
24
+
@@ -603,8 +603,8 @@ module Late
603
603
  end
604
604
 
605
605
  # Update post metadata
606
- # Updates metadata of an already-published post on the specified platform without re-uploading the media. Currently only supported for YouTube videos (title, description, tags, category, privacy status). The post must have \"published\" status on the target platform. At least one updatable field is required.
607
- # @param post_id [String]
606
+ # Updates metadata of a published video on the specified platform without re-uploading. Currently only supported for YouTube. At least one updatable field is required. **Two modes:** 1. **Post-based** (video published through Zernio): pass the Zernio postId in the URL and `platform` in the body. 2. **Direct video ID** (video uploaded outside Zernio, e.g. directly to YouTube): use `_` as the postId, and pass `videoId` + `accountId` + `platform` in the body. The accountId is the Zernio social account ID for the connected YouTube channel.
607
+ # @param post_id [String] Zernio post ID, or \"_\" when using direct video ID mode
608
608
  # @param update_post_metadata_request [UpdatePostMetadataRequest]
609
609
  # @param [Hash] opts the optional parameters
610
610
  # @return [UpdatePostMetadata200Response]
@@ -614,8 +614,8 @@ module Late
614
614
  end
615
615
 
616
616
  # Update post metadata
617
- # Updates metadata of an already-published post on the specified platform without re-uploading the media. Currently only supported for YouTube videos (title, description, tags, category, privacy status). The post must have \"published\" status on the target platform. At least one updatable field is required.
618
- # @param post_id [String]
617
+ # Updates metadata of a published video on the specified platform without re-uploading. Currently only supported for YouTube. At least one updatable field is required. **Two modes:** 1. **Post-based** (video published through Zernio): pass the Zernio postId in the URL and `platform` in the body. 2. **Direct video ID** (video uploaded outside Zernio, e.g. directly to YouTube): use `_` as the postId, and pass `videoId` + `accountId` + `platform` in the body. The accountId is the Zernio social account ID for the connected YouTube channel.
618
+ # @param post_id [String] Zernio post ID, or \"_\" when using direct video ID mode
619
619
  # @param update_post_metadata_request [UpdatePostMetadataRequest]
620
620
  # @param [Hash] opts the optional parameters
621
621
  # @return [Array<(UpdatePostMetadata200Response, Integer, Hash)>] UpdatePostMetadata200Response data, response status code and response headers