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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/docs/PostsApi.md +3 -3
- data/docs/UpdatePostMetadata200Response.md +2 -0
- data/docs/UpdatePostMetadataRequest.md +4 -0
- data/docs/WebhookEventsApi.md +766 -0
- data/docs/WebhookPayloadAccountConnected.md +5 -3
- data/docs/WebhookPayloadAccountConnectedAccount.md +4 -4
- data/docs/WebhookPayloadAccountDisconnected.md +5 -3
- data/docs/WebhookPayloadAccountDisconnectedAccount.md +6 -6
- data/docs/WebhookPayloadComment.md +7 -5
- data/docs/WebhookPayloadCommentAccount.md +3 -3
- data/docs/WebhookPayloadCommentComment.md +9 -9
- data/docs/WebhookPayloadCommentCommentAuthor.md +1 -1
- data/docs/WebhookPayloadCommentPost.md +2 -2
- data/docs/WebhookPayloadMessage.md +7 -5
- data/docs/WebhookPayloadMessageAccount.md +3 -3
- data/docs/WebhookPayloadMessageConversation.md +3 -5
- data/docs/WebhookPayloadMessageMessage.md +10 -10
- data/docs/WebhookPayloadMessageMessageAttachmentsInner.md +2 -2
- data/docs/WebhookPayloadMessageMessageSender.md +1 -1
- data/docs/WebhookPayloadPost.md +5 -3
- data/docs/WebhookPayloadPostPost.md +5 -5
- data/docs/WebhookPayloadPostPostPlatformsInner.md +4 -2
- data/docs/WebhookPayloadTest.md +24 -0
- data/lib/late-sdk/api/posts_api.rb +4 -4
- data/lib/late-sdk/api/webhook_events_api.rb +748 -0
- data/lib/late-sdk/api/webhooks_api.rb +1 -1
- data/lib/late-sdk/models/update_post_metadata200_response.rb +11 -1
- data/lib/late-sdk/models/update_post_metadata_request.rb +21 -1
- data/lib/late-sdk/models/webhook_log.rb +2 -2
- data/lib/late-sdk/models/webhook_payload_account_connected.rb +69 -1
- data/lib/late-sdk/models/webhook_payload_account_connected_account.rb +68 -0
- data/lib/late-sdk/models/webhook_payload_account_disconnected.rb +69 -1
- data/lib/late-sdk/models/webhook_payload_account_disconnected_account.rb +92 -0
- data/lib/late-sdk/models/webhook_payload_comment.rb +103 -1
- data/lib/late-sdk/models/webhook_payload_comment_account.rb +51 -0
- data/lib/late-sdk/models/webhook_payload_comment_comment.rb +143 -0
- data/lib/late-sdk/models/webhook_payload_comment_comment_author.rb +17 -0
- data/lib/late-sdk/models/webhook_payload_comment_post.rb +34 -0
- data/lib/late-sdk/models/webhook_payload_message.rb +104 -2
- data/lib/late-sdk/models/webhook_payload_message_account.rb +51 -0
- data/lib/late-sdk/models/webhook_payload_message_conversation.rb +39 -20
- data/lib/late-sdk/models/webhook_payload_message_message.rb +154 -4
- data/lib/late-sdk/models/webhook_payload_message_message_attachments_inner.rb +34 -0
- data/lib/late-sdk/models/webhook_payload_message_message_sender.rb +17 -0
- data/lib/late-sdk/models/webhook_payload_post.rb +71 -3
- data/lib/late-sdk/models/webhook_payload_post_post.rb +85 -0
- data/lib/late-sdk/models/webhook_payload_post_post_platforms_inner.rb +44 -1
- data/lib/late-sdk/models/webhook_payload_test.rb +269 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +1 -0
- data/openapi.yaml +270 -29
- data/spec/api/posts_api_spec.rb +2 -2
- data/spec/models/create_webhook_settings_request_spec.rb +1 -1
- data/spec/models/update_post_metadata200_response_spec.rb +6 -0
- data/spec/models/update_post_metadata_request_spec.rb +12 -0
- data/spec/models/update_webhook_settings_request_spec.rb +1 -1
- data/spec/models/webhook_log_spec.rb +1 -1
- data/spec/models/webhook_payload_account_connected_spec.rb +6 -0
- data/spec/models/webhook_payload_account_disconnected_spec.rb +6 -0
- data/spec/models/webhook_payload_comment_spec.rb +6 -0
- data/spec/models/webhook_payload_message_conversation_spec.rb +0 -10
- data/spec/models/webhook_payload_message_message_spec.rb +2 -2
- data/spec/models/webhook_payload_message_spec.rb +6 -0
- data/spec/models/webhook_payload_post_post_platforms_inner_spec.rb +6 -0
- data/spec/models/webhook_payload_post_spec.rb +7 -1
- data/spec/models/webhook_payload_test_spec.rb +58 -0
- data/spec/models/webhook_spec.rb +1 -1
- data/zernio-sdk-0.0.87.gem +0 -0
- metadata +9 -3
- data/zernio-sdk-0.0.85.gem +0 -0
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
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}) |
|
|
8
|
-
| **profile_id** | **String** | The profile's unique identifier this account belongs to |
|
|
9
|
-
| **platform** | **String** | |
|
|
10
|
-
| **username** | **String** | |
|
|
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
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
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}) |
|
|
8
|
-
| **profile_id** | **String** | The profile's unique identifier this account belongs to |
|
|
9
|
-
| **platform** | **String** | |
|
|
10
|
-
| **username** | **String** | |
|
|
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) |
|
|
13
|
-
| **reason** | **String** | Human-readable reason for the disconnection |
|
|
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
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
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 |
|
|
8
|
-
| **platform** | **String** | |
|
|
9
|
-
| **username** | **String** | |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
8
|
-
| **platform_post_id** | **String** | Platform's post ID |
|
|
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
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
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** | |
|
|
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 |
|
|
8
|
-
| **platform** | **String** | |
|
|
9
|
-
| **username** | **String** | |
|
|
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** | |
|
|
8
|
-
| **platform_conversation_id** | **String** | |
|
|
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
|
-
| **
|
|
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 |
|
|
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** | |
|
|
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) |
|
|
8
|
-
| **url** | **String** | Attachment URL (may expire for Meta platforms) |
|
|
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** | |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
8
|
| **name** | **String** | | [optional] |
|
|
9
9
|
| **username** | **String** | | [optional] |
|
|
10
10
|
| **picture** | **String** | | [optional] |
|
data/docs/WebhookPayloadPost.md
CHANGED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
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** | |
|
|
8
|
-
| **content** | **String** | |
|
|
9
|
-
| **status** | **String** | |
|
|
10
|
-
| **scheduled_for** | **Time** | |
|
|
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) | |
|
|
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** | |
|
|
8
|
-
| **status** | **String** | |
|
|
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
|
|
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
|
|
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
|