late-sdk 0.0.123 → 0.0.125
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/AnalyticsApi.md +2 -2
- data/docs/WebhookLog.md +1 -1
- data/lib/late-sdk/api/analytics_api.rb +4 -4
- data/lib/late-sdk/models/webhook_log.rb +1 -1
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +7 -3
- data/spec/api/analytics_api_spec.rb +2 -2
- data/zernio-sdk-0.0.125.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.123.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f933ea08c63cb35cc5a0586803ca58fabe473b0884b3fde63b91e5af7d8ca80
|
|
4
|
+
data.tar.gz: 53dbc7123f9f00c0df808469d2b96c2b6836b92b94da8f8aa0aa6b34d9f75092
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3cc07773f4c30220bc512f9ffc2840d51bc6cffe87d9db1561bbe3dd574672e25f68184ae89ced92552bdbd4af4b1428e9e30319d2d9faf4cd063c80372c5208
|
|
7
|
+
data.tar.gz: e611cd9835b8ce8430ba17aa11c5a267022576bdadd5c5fadb4ba54e8350b11793395cb1bcb2af51ef17e9441468429f3f76b16398eda04168ad0e2b7485193c
|
data/docs/AnalyticsApi.md
CHANGED
|
@@ -28,7 +28,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
28
28
|
|
|
29
29
|
Get post analytics
|
|
30
30
|
|
|
31
|
-
Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
|
|
31
|
+
Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats. **LinkedIn personal accounts:** Analytics are only available for posts published through Zernio. LinkedIn's API only returns metrics for posts authored by the authenticated user. Organization/company page analytics work for all posts.
|
|
32
32
|
|
|
33
33
|
### Examples
|
|
34
34
|
|
|
@@ -739,7 +739,7 @@ end
|
|
|
739
739
|
|
|
740
740
|
Get LinkedIn aggregate stats
|
|
741
741
|
|
|
742
|
-
Returns aggregate analytics across all posts for a LinkedIn personal account. Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
742
|
+
Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
743
743
|
|
|
744
744
|
### Examples
|
|
745
745
|
|
data/docs/WebhookLog.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
| **request_payload** | **Object** | Payload sent to webhook endpoint | [optional] |
|
|
15
15
|
| **response_body** | **String** | Response body from webhook endpoint (truncated to 10KB) | [optional] |
|
|
16
16
|
| **error_message** | **String** | Error message if delivery failed | [optional] |
|
|
17
|
-
| **attempt_number** | **Integer** | Delivery attempt number (max
|
|
17
|
+
| **attempt_number** | **Integer** | Delivery attempt number (max 7 attempts) | [optional] |
|
|
18
18
|
| **response_time** | **Integer** | Response time in milliseconds | [optional] |
|
|
19
19
|
| **created_at** | **Time** | | [optional] |
|
|
20
20
|
|
|
@@ -20,7 +20,7 @@ module Late
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Get post analytics
|
|
23
|
-
# Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
|
|
23
|
+
# Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats. **LinkedIn personal accounts:** Analytics are only available for posts published through Zernio. LinkedIn's API only returns metrics for posts authored by the authenticated user. Organization/company page analytics work for all posts.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [String] :post_id Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
|
|
26
26
|
# @option opts [String] :platform Filter by platform (default \"all\")
|
|
@@ -40,7 +40,7 @@ module Late
|
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
# Get post analytics
|
|
43
|
-
# Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
|
|
43
|
+
# Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats. **LinkedIn personal accounts:** Analytics are only available for posts published through Zernio. LinkedIn's API only returns metrics for posts authored by the authenticated user. Organization/company page analytics work for all posts.
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
|
45
45
|
# @option opts [String] :post_id Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
|
|
46
46
|
# @option opts [String] :platform Filter by platform (default \"all\")
|
|
@@ -746,7 +746,7 @@ module Late
|
|
|
746
746
|
end
|
|
747
747
|
|
|
748
748
|
# Get LinkedIn aggregate stats
|
|
749
|
-
# Returns aggregate analytics across all posts for a LinkedIn personal account. Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
749
|
+
# Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
750
750
|
# @param account_id [String] The ID of the LinkedIn personal account
|
|
751
751
|
# @param [Hash] opts the optional parameters
|
|
752
752
|
# @option opts [String] :aggregation TOTAL (default, lifetime totals) or DAILY (time series). MEMBERS_REACHED not available with DAILY. (default to 'TOTAL')
|
|
@@ -760,7 +760,7 @@ module Late
|
|
|
760
760
|
end
|
|
761
761
|
|
|
762
762
|
# Get LinkedIn aggregate stats
|
|
763
|
-
# Returns aggregate analytics across all posts for a LinkedIn personal account. Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
763
|
+
# Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
764
764
|
# @param account_id [String] The ID of the LinkedIn personal account
|
|
765
765
|
# @param [Hash] opts the optional parameters
|
|
766
766
|
# @option opts [String] :aggregation TOTAL (default, lifetime totals) or DAILY (time series). MEMBERS_REACHED not available with DAILY. (default to 'TOTAL')
|
data/lib/late-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -100,7 +100,7 @@ x-documentation:
|
|
|
100
100
|
| Twitter/X | Yes | - | Yes | Yes |
|
|
101
101
|
| Instagram | Yes | Yes | Yes | Yes |
|
|
102
102
|
| Facebook | Yes | Stories | Yes | Yes |
|
|
103
|
-
| LinkedIn | Yes | - |
|
|
103
|
+
| LinkedIn | Yes | - | Partial | - |
|
|
104
104
|
| TikTok | Yes | - | Yes | - |
|
|
105
105
|
| YouTube | Yes | Shorts | Yes | Yes |
|
|
106
106
|
| Pinterest | Yes | - | Yes | - |
|
|
@@ -111,6 +111,8 @@ x-documentation:
|
|
|
111
111
|
| Telegram | Yes | - | - | - |
|
|
112
112
|
| Snapchat | Yes | - | - | - |
|
|
113
113
|
|
|
114
|
+
> **LinkedIn Analytics Note:** For personal LinkedIn accounts, analytics are only available for posts published through Zernio. This is a LinkedIn API limitation: the `memberCreatorPostAnalytics` endpoint only returns metrics for posts authored by the authenticated user. Company/organization page analytics are not affected and work for all posts.
|
|
115
|
+
|
|
114
116
|
## Rate Limits
|
|
115
117
|
|
|
116
118
|
| Plan | Requests/min | Posts/month |
|
|
@@ -850,7 +852,7 @@ components:
|
|
|
850
852
|
description: Error message if delivery failed
|
|
851
853
|
attemptNumber:
|
|
852
854
|
type: integer
|
|
853
|
-
description: Delivery attempt number (max
|
|
855
|
+
description: Delivery attempt number (max 7 attempts)
|
|
854
856
|
responseTime:
|
|
855
857
|
type: integer
|
|
856
858
|
description: Response time in milliseconds
|
|
@@ -3365,6 +3367,8 @@ paths:
|
|
|
3365
3367
|
Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats.
|
|
3366
3368
|
Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days.
|
|
3367
3369
|
Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
|
|
3370
|
+
|
|
3371
|
+
**LinkedIn personal accounts:** Analytics are only available for posts published through Zernio. LinkedIn's API only returns metrics for posts authored by the authenticated user. Organization/company page analytics work for all posts.
|
|
3368
3372
|
parameters:
|
|
3369
3373
|
- name: postId
|
|
3370
3374
|
in: query
|
|
@@ -9892,7 +9896,7 @@ paths:
|
|
|
9892
9896
|
operationId: getLinkedInAggregateAnalytics
|
|
9893
9897
|
tags: [Analytics]
|
|
9894
9898
|
summary: Get LinkedIn aggregate stats
|
|
9895
|
-
description: Returns aggregate analytics across all posts for a LinkedIn personal account. Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
9899
|
+
description: Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
9896
9900
|
parameters:
|
|
9897
9901
|
- name: accountId
|
|
9898
9902
|
in: path
|
|
@@ -34,7 +34,7 @@ describe 'AnalyticsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for get_analytics
|
|
36
36
|
# Get post analytics
|
|
37
|
-
# Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
|
|
37
|
+
# Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Zernio Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days. Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats. **LinkedIn personal accounts:** Analytics are only available for posts published through Zernio. LinkedIn's API only returns metrics for posts authored by the authenticated user. Organization/company page analytics work for all posts.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [String] :post_id Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
|
|
40
40
|
# @option opts [String] :platform Filter by platform (default \"all\")
|
|
@@ -178,7 +178,7 @@ describe 'AnalyticsApi' do
|
|
|
178
178
|
|
|
179
179
|
# unit tests for get_linked_in_aggregate_analytics
|
|
180
180
|
# Get LinkedIn aggregate stats
|
|
181
|
-
# Returns aggregate analytics across all posts for a LinkedIn personal account. Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
181
|
+
# Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope.
|
|
182
182
|
# @param account_id The ID of the LinkedIn personal account
|
|
183
183
|
# @param [Hash] opts the optional parameters
|
|
184
184
|
# @option opts [String] :aggregation TOTAL (default, lifetime totals) or DAILY (time series). MEMBERS_REACHED not available with DAILY.
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.125
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -2463,7 +2463,7 @@ files:
|
|
|
2463
2463
|
- spec/models/you_tube_scope_missing_response_scope_status_spec.rb
|
|
2464
2464
|
- spec/models/you_tube_scope_missing_response_spec.rb
|
|
2465
2465
|
- spec/spec_helper.rb
|
|
2466
|
-
- zernio-sdk-0.0.
|
|
2466
|
+
- zernio-sdk-0.0.125.gem
|
|
2467
2467
|
homepage: https://openapi-generator.tech
|
|
2468
2468
|
licenses:
|
|
2469
2469
|
- Unlicense
|
data/zernio-sdk-0.0.123.gem
DELETED
|
Binary file
|