zernio-sdk 0.0.802 → 0.0.803
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/docs/CreatePostRequest.md +2 -2
- data/docs/Post.md +2 -2
- data/docs/UpdatePostRequest.md +2 -2
- data/lib/zernio-sdk/models/create_post_request.rb +2 -0
- data/lib/zernio-sdk/models/post.rb +2 -1
- data/lib/zernio-sdk/models/update_post_request.rb +2 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +10 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7319f7914b71ce9396dbb032b737547adae046e05e81915ef6f3a984bf303197
|
|
4
|
+
data.tar.gz: e0f6d2116ece4e970c6532617c4c4db0a7a56e1fac98b23f9eb14e925801b1c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc7503a454f09a838ee9c6843116fca90b44bdede5265def03dae1ee1be30c985f9421f2bcd8e1ce4a4bbac1236537f74a73355e45ae2cb8cfddf6821a40b852
|
|
7
|
+
data.tar.gz: 21a8011f608f07f9408e02b4ed05944ee84eea7d7ce351df2bad684d0bd0b4993f5f2bd9ad71d0acffdbb4b4d28297ed58fd25b00ac6077ed7b176dd6ce729b4
|
data/docs/CreatePostRequest.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **title** | **String** |
|
|
7
|
+
| **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] |
|
|
8
8
|
| **content** | **String** | Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts. | [optional] |
|
|
9
9
|
| **media_items** | [**Array<MediaItem>**](MediaItem.md) | | [optional] |
|
|
10
10
|
| **platforms** | [**Array<CreatePostRequestPlatformsInner>**](CreatePostRequestPlatformsInner.md) | Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms. | [optional] |
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
| **is_draft** | **Boolean** | When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically. | [optional][default to false] |
|
|
14
14
|
| **timezone** | **String** | | [optional][default to 'UTC'] |
|
|
15
15
|
| **tags** | **Array<String>** | Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed. | [optional] |
|
|
16
|
-
| **hashtags** | **Array<String>** |
|
|
16
|
+
| **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] |
|
|
17
17
|
| **mentions** | **Array<String>** | Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field. | [optional] |
|
|
18
18
|
| **crossposting_enabled** | **Boolean** | | [optional][default to true] |
|
|
19
19
|
| **metadata** | **Hash<String, Object>** | | [optional] |
|
data/docs/Post.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **_id** | **String** | | [optional] |
|
|
8
8
|
| **user_id** | [**PostUserId**](PostUserId.md) | | [optional] |
|
|
9
|
-
| **title** | **String** | YouTube
|
|
9
|
+
| **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] |
|
|
10
10
|
| **content** | **String** | | [optional] |
|
|
11
11
|
| **media_items** | [**Array<MediaItem>**](MediaItem.md) | | [optional] |
|
|
12
12
|
| **platforms** | [**Array<PlatformTarget>**](PlatformTarget.md) | | [optional] |
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
| **timezone** | **String** | | [optional] |
|
|
15
15
|
| **status** | **String** | | [optional] |
|
|
16
16
|
| **tags** | **Array<String>** | YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed. | [optional] |
|
|
17
|
-
| **hashtags** | **Array<String>** |
|
|
17
|
+
| **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] |
|
|
18
18
|
| **mentions** | **Array<String>** | Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field. | [optional] |
|
|
19
19
|
| **visibility** | **String** | | [optional] |
|
|
20
20
|
| **metadata** | **Hash<String, Object>** | | [optional] |
|
data/docs/UpdatePostRequest.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **title** | **String** |
|
|
7
|
+
| **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] |
|
|
8
8
|
| **content** | **String** | | [optional] |
|
|
9
9
|
| **media_items** | [**Array<MediaItem>**](MediaItem.md) | | [optional] |
|
|
10
10
|
| **platforms** | [**Array<UpdatePostRequestPlatformsInner>**](UpdatePostRequestPlatformsInner.md) | Target platforms and accounts for this post. Each item must include platform and accountId. | [optional] |
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
| **timezone** | **String** | | [optional] |
|
|
15
15
|
| **visibility** | **String** | | [optional] |
|
|
16
16
|
| **tags** | **Array<String>** | | [optional] |
|
|
17
|
-
| **hashtags** | **Array<String>** |
|
|
17
|
+
| **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] |
|
|
18
18
|
| **mentions** | **Array<String>** | | [optional] |
|
|
19
19
|
| **crossposting_enabled** | **Boolean** | | [optional] |
|
|
20
20
|
| **metadata** | **Hash<String, Object>** | | [optional] |
|
|
@@ -15,6 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
17
|
class CreatePostRequest < ApiModelBase
|
|
18
|
+
# 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).
|
|
18
19
|
attr_accessor :title
|
|
19
20
|
|
|
20
21
|
# Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
|
|
@@ -37,6 +38,7 @@ module Zernio
|
|
|
37
38
|
# Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
|
|
38
39
|
attr_accessor :tags
|
|
39
40
|
|
|
41
|
+
# 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.
|
|
40
42
|
attr_accessor :hashtags
|
|
41
43
|
|
|
42
44
|
# Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
|
|
@@ -19,7 +19,7 @@ module Zernio
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :user_id
|
|
21
21
|
|
|
22
|
-
# YouTube
|
|
22
|
+
# 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).
|
|
23
23
|
attr_accessor :title
|
|
24
24
|
|
|
25
25
|
attr_accessor :content
|
|
@@ -37,6 +37,7 @@ module Zernio
|
|
|
37
37
|
# YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed.
|
|
38
38
|
attr_accessor :tags
|
|
39
39
|
|
|
40
|
+
# 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.
|
|
40
41
|
attr_accessor :hashtags
|
|
41
42
|
|
|
42
43
|
# Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
|
|
@@ -15,6 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
17
|
class UpdatePostRequest < ApiModelBase
|
|
18
|
+
# 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).
|
|
18
19
|
attr_accessor :title
|
|
19
20
|
|
|
20
21
|
attr_accessor :content
|
|
@@ -37,6 +38,7 @@ module Zernio
|
|
|
37
38
|
|
|
38
39
|
attr_accessor :tags
|
|
39
40
|
|
|
41
|
+
# 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.
|
|
40
42
|
attr_accessor :hashtags
|
|
41
43
|
|
|
42
44
|
attr_accessor :mentions
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -5030,8 +5030,7 @@ components:
|
|
|
5030
5030
|
- $ref: '#/components/schemas/User'
|
|
5031
5031
|
title:
|
|
5032
5032
|
type: string
|
|
5033
|
-
description:
|
|
5034
|
-
YouTube: title must be ≤ 100 characters.
|
|
5033
|
+
description: "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)."
|
|
5035
5034
|
content: { type: string }
|
|
5036
5035
|
mediaItems:
|
|
5037
5036
|
type: array
|
|
@@ -5048,6 +5047,7 @@ components:
|
|
|
5048
5047
|
items: { type: string }
|
|
5049
5048
|
hashtags:
|
|
5050
5049
|
type: array
|
|
5050
|
+
description: "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."
|
|
5051
5051
|
items: { type: string }
|
|
5052
5052
|
mentions:
|
|
5053
5053
|
type: array
|
|
@@ -14459,7 +14459,9 @@ paths:
|
|
|
14459
14459
|
schema:
|
|
14460
14460
|
type: object
|
|
14461
14461
|
properties:
|
|
14462
|
-
title:
|
|
14462
|
+
title:
|
|
14463
|
+
type: string
|
|
14464
|
+
description: "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)."
|
|
14463
14465
|
content:
|
|
14464
14466
|
type: string
|
|
14465
14467
|
description: 'Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.'
|
|
@@ -14515,6 +14517,7 @@ paths:
|
|
|
14515
14517
|
items: { type: string }
|
|
14516
14518
|
hashtags:
|
|
14517
14519
|
type: array
|
|
14520
|
+
description: "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."
|
|
14518
14521
|
items: { type: string }
|
|
14519
14522
|
mentions:
|
|
14520
14523
|
type: array
|
|
@@ -15157,7 +15160,9 @@ paths:
|
|
|
15157
15160
|
schema:
|
|
15158
15161
|
type: object
|
|
15159
15162
|
properties:
|
|
15160
|
-
title:
|
|
15163
|
+
title:
|
|
15164
|
+
type: string
|
|
15165
|
+
description: "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)."
|
|
15161
15166
|
content: { type: string }
|
|
15162
15167
|
mediaItems:
|
|
15163
15168
|
type: array
|
|
@@ -15197,6 +15202,7 @@ paths:
|
|
|
15197
15202
|
items: { type: string }
|
|
15198
15203
|
hashtags:
|
|
15199
15204
|
type: array
|
|
15205
|
+
description: "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."
|
|
15200
15206
|
items: { type: string }
|
|
15201
15207
|
mentions:
|
|
15202
15208
|
type: array
|