late-sdk 0.0.1446 → 0.0.1447
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/ConnectApi.md +6 -6
- data/docs/RedditSearchApi.md +3 -3
- data/docs/ValidateApi.md +1 -1
- data/lib/zernio-sdk/api/connect_api.rb +12 -12
- data/lib/zernio-sdk/api/reddit_search_api.rb +6 -6
- data/lib/zernio-sdk/api/validate_api.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +1 -1
- data/spec/api/connect_api_spec.rb +6 -6
- data/spec/api/reddit_search_api_spec.rb +3 -3
- data/spec/api/validate_api_spec.rb +1 -1
- data/zernio-sdk-0.0.1447.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.1446.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: c6c7c146fc6b1406b9d83c2fd8621e13ac95a843a10bbf27744bd06c08cc7088
|
|
4
|
+
data.tar.gz: a4ae1c64ea2996c219bf5bfb84451db7d16c38cfde66889063650c12c9f8323f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44eed0ccbc8e03bf54305a8275228353d3de89a412424eba1f6de6f33fd67f0e9e6e4aa5acf3b1547dea89305a84c1842e4e1d5d794befed1858a341d08b18dd
|
|
7
|
+
data.tar.gz: a3095bb8ae0816c9b573e91fb019cc0aafe7d4718b25760276dc0de6fbea45ff14f6d3ebd3f7408b0f0ec22671a86f12bbb174b481e73b1cb1614bfd78693b39
|
data/docs/ConnectApi.md
CHANGED
|
@@ -1814,7 +1814,7 @@ end
|
|
|
1814
1814
|
|
|
1815
1815
|
List subreddit flairs
|
|
1816
1816
|
|
|
1817
|
-
Returns available post flairs for a subreddit. Some subreddits require a flair when posting.
|
|
1817
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns available post flairs for a subreddit. Some subreddits require a flair when posting.
|
|
1818
1818
|
|
|
1819
1819
|
### Examples
|
|
1820
1820
|
|
|
@@ -1885,7 +1885,7 @@ end
|
|
|
1885
1885
|
|
|
1886
1886
|
List Reddit subreddits
|
|
1887
1887
|
|
|
1888
|
-
Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.
|
|
1888
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.
|
|
1889
1889
|
|
|
1890
1890
|
### Examples
|
|
1891
1891
|
|
|
@@ -2029,7 +2029,7 @@ end
|
|
|
2029
2029
|
|
|
2030
2030
|
Get subreddit rules
|
|
2031
2031
|
|
|
2032
|
-
Returns a subreddit's posting rules plus Reddit's site-wide rules, so you can check them before submitting and avoid a removal. Use this alongside `POST /v1/tools/validate/subreddit`, which only confirms that a subreddit exists and reports its basic posting settings.
|
|
2032
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns a subreddit's posting rules plus Reddit's site-wide rules, so you can check them before submitting and avoid a removal. Use this alongside `POST /v1/tools/validate/subreddit`, which only confirms that a subreddit exists and reports its basic posting settings.
|
|
2033
2033
|
|
|
2034
2034
|
### Examples
|
|
2035
2035
|
|
|
@@ -3806,7 +3806,7 @@ end
|
|
|
3806
3806
|
|
|
3807
3807
|
Set Reddit post flair
|
|
3808
3808
|
|
|
3809
|
-
Applies a flair to a post the connected account already published. Use the GET on this path to list the available `flairTemplateId` values for the subreddit. Flair can also be set at submit time by passing `flairId` in `platformSpecificData` when creating the post. This endpoint is for changing it afterwards. The subreddit must allow users to select their own post flair. Setting flair on another user's post requires moderator permissions, which Zernio does not request.
|
|
3809
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Applies a flair to a post the connected account already published. Use the GET on this path to list the available `flairTemplateId` values for the subreddit. Flair can also be set at submit time by passing `flairId` in `platformSpecificData` when creating the post. This endpoint is for changing it afterwards. The subreddit must allow users to select their own post flair. Setting flair on another user's post requires moderator permissions, which Zernio does not request.
|
|
3810
3810
|
|
|
3811
3811
|
### Examples
|
|
3812
3812
|
|
|
@@ -4161,7 +4161,7 @@ end
|
|
|
4161
4161
|
|
|
4162
4162
|
Set default subreddit
|
|
4163
4163
|
|
|
4164
|
-
Sets the default subreddit used when publishing posts for this Reddit account.
|
|
4164
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Sets the default subreddit used when publishing posts for this Reddit account.
|
|
4165
4165
|
|
|
4166
4166
|
### Examples
|
|
4167
4167
|
|
|
@@ -4303,7 +4303,7 @@ end
|
|
|
4303
4303
|
|
|
4304
4304
|
Vote on a Reddit post or comment
|
|
4305
4305
|
|
|
4306
|
-
Cast, change, or clear the connected account's vote on a Reddit post or comment. **Reddit requires that votes be cast by humans.** Reddit's API terms permit a client to proxy a human's action one-for-one, and prohibit a bot from deciding how to vote or from amplifying a human's vote. Call this endpoint only in direct response to an explicit action by the account owner. Automated or agent-decided voting is vote manipulation and puts API access at risk.
|
|
4306
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Cast, change, or clear the connected account's vote on a Reddit post or comment. **Reddit requires that votes be cast by humans.** Reddit's API terms permit a client to proxy a human's action one-for-one, and prohibit a bot from deciding how to vote or from amplifying a human's vote. Call this endpoint only in direct response to an explicit action by the account owner. Automated or agent-decided voting is vote manipulation and puts API access at risk.
|
|
4307
4307
|
|
|
4308
4308
|
### Examples
|
|
4309
4309
|
|
data/docs/RedditSearchApi.md
CHANGED
|
@@ -15,7 +15,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
15
15
|
|
|
16
16
|
Get subreddit feed
|
|
17
17
|
|
|
18
|
-
Fetch posts from a subreddit feed. Supports sorting, time filtering, and cursor-based pagination.
|
|
18
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Fetch posts from a subreddit feed. Supports sorting, time filtering, and cursor-based pagination.
|
|
19
19
|
|
|
20
20
|
### Examples
|
|
21
21
|
|
|
@@ -96,7 +96,7 @@ end
|
|
|
96
96
|
|
|
97
97
|
Get the comments of a Reddit post
|
|
98
98
|
|
|
99
|
-
Reads the comments of any Reddit post the connected account can see, for example one found through `/v1/reddit/feed` or `/v1/reddit/search`, straight from Reddit on every call. The tree comes flattened in thread order (a reply follows its parent); rebuild it from `parentId`, which is `t3_…` for a reply to the post and `t1_…` for a reply to a comment. Deleted and removed comments are passed through as Reddit sends them (`[deleted]` / `[removed]`). Where Reddit truncates a thread, the ids it left out are listed in `more`; `commentId` fetches one such comment with its replies. A post Reddit no longer serves answers 404 and a private subreddit 403, both with `platform_api_error`. For comments on posts published through Zernio, `/v1/inbox/comments/{postId}` adds caching, moderation and replies.
|
|
99
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Reads the comments of any Reddit post the connected account can see, for example one found through `/v1/reddit/feed` or `/v1/reddit/search`, straight from Reddit on every call. The tree comes flattened in thread order (a reply follows its parent); rebuild it from `parentId`, which is `t3_…` for a reply to the post and `t1_…` for a reply to a comment. Deleted and removed comments are passed through as Reddit sends them (`[deleted]` / `[removed]`). Where Reddit truncates a thread, the ids it left out are listed in `more`; `commentId` fetches one such comment with its replies. A post Reddit no longer serves answers 404 and a private subreddit 403, both with `platform_api_error`. For comments on posts published through Zernio, `/v1/inbox/comments/{postId}` adds caching, moderation and replies.
|
|
100
100
|
|
|
101
101
|
### Examples
|
|
102
102
|
|
|
@@ -175,7 +175,7 @@ end
|
|
|
175
175
|
|
|
176
176
|
Search posts
|
|
177
177
|
|
|
178
|
-
Search Reddit posts using a connected account. Optionally scope to a specific subreddit.
|
|
178
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Search Reddit posts using a connected account. Optionally scope to a specific subreddit.
|
|
179
179
|
|
|
180
180
|
### Examples
|
|
181
181
|
|
data/docs/ValidateApi.md
CHANGED
|
@@ -223,7 +223,7 @@ end
|
|
|
223
223
|
|
|
224
224
|
Check subreddit existence
|
|
225
225
|
|
|
226
|
-
Check if a subreddit exists and return basic info (title, subscriber count, NSFW status, post types allowed). When accountId is provided, uses authenticated Reddit OAuth API with automatic token refresh (recommended). Falls back to Reddit's public JSON API, which may be unreliable from server IPs. Returns exists: false for private, banned, or nonexistent subreddits.
|
|
226
|
+
Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Check if a subreddit exists and return basic info (title, subscriber count, NSFW status, post types allowed). When accountId is provided, uses authenticated Reddit OAuth API with automatic token refresh (recommended). Falls back to Reddit's public JSON API, which may be unreliable from server IPs. Returns exists: false for private, banned, or nonexistent subreddits.
|
|
227
227
|
|
|
228
228
|
### Examples
|
|
229
229
|
|
|
@@ -1812,7 +1812,7 @@ module Zernio
|
|
|
1812
1812
|
end
|
|
1813
1813
|
|
|
1814
1814
|
# List subreddit flairs
|
|
1815
|
-
# Returns available post flairs for a subreddit. Some subreddits require a flair when posting.
|
|
1815
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns available post flairs for a subreddit. Some subreddits require a flair when posting.
|
|
1816
1816
|
# @param account_id [String]
|
|
1817
1817
|
# @param subreddit [String] Subreddit name (without \"r/\" prefix) to fetch flairs for
|
|
1818
1818
|
# @param [Hash] opts the optional parameters
|
|
@@ -1823,7 +1823,7 @@ module Zernio
|
|
|
1823
1823
|
end
|
|
1824
1824
|
|
|
1825
1825
|
# List subreddit flairs
|
|
1826
|
-
# Returns available post flairs for a subreddit. Some subreddits require a flair when posting.
|
|
1826
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns available post flairs for a subreddit. Some subreddits require a flair when posting.
|
|
1827
1827
|
# @param account_id [String]
|
|
1828
1828
|
# @param subreddit [String] Subreddit name (without \"r/\" prefix) to fetch flairs for
|
|
1829
1829
|
# @param [Hash] opts the optional parameters
|
|
@@ -1886,7 +1886,7 @@ module Zernio
|
|
|
1886
1886
|
end
|
|
1887
1887
|
|
|
1888
1888
|
# List Reddit subreddits
|
|
1889
|
-
# Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.
|
|
1889
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.
|
|
1890
1890
|
# @param account_id [String]
|
|
1891
1891
|
# @param [Hash] opts the optional parameters
|
|
1892
1892
|
# @return [GetRedditSubreddits200Response]
|
|
@@ -1896,7 +1896,7 @@ module Zernio
|
|
|
1896
1896
|
end
|
|
1897
1897
|
|
|
1898
1898
|
# List Reddit subreddits
|
|
1899
|
-
# Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.
|
|
1899
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.
|
|
1900
1900
|
# @param account_id [String]
|
|
1901
1901
|
# @param [Hash] opts the optional parameters
|
|
1902
1902
|
# @return [Array<(GetRedditSubreddits200Response, Integer, Hash)>] GetRedditSubreddits200Response data, response status code and response headers
|
|
@@ -2023,7 +2023,7 @@ module Zernio
|
|
|
2023
2023
|
end
|
|
2024
2024
|
|
|
2025
2025
|
# Get subreddit rules
|
|
2026
|
-
# Returns a subreddit's posting rules plus Reddit's site-wide rules, so you can check them before submitting and avoid a removal. Use this alongside `POST /v1/tools/validate/subreddit`, which only confirms that a subreddit exists and reports its basic posting settings.
|
|
2026
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns a subreddit's posting rules plus Reddit's site-wide rules, so you can check them before submitting and avoid a removal. Use this alongside `POST /v1/tools/validate/subreddit`, which only confirms that a subreddit exists and reports its basic posting settings.
|
|
2027
2027
|
# @param account_id [String] The ID of the Reddit account
|
|
2028
2028
|
# @param subreddit [String] Subreddit name (without the \"r/\" prefix)
|
|
2029
2029
|
# @param [Hash] opts the optional parameters
|
|
@@ -2034,7 +2034,7 @@ module Zernio
|
|
|
2034
2034
|
end
|
|
2035
2035
|
|
|
2036
2036
|
# Get subreddit rules
|
|
2037
|
-
# Returns a subreddit's posting rules plus Reddit's site-wide rules, so you can check them before submitting and avoid a removal. Use this alongside `POST /v1/tools/validate/subreddit`, which only confirms that a subreddit exists and reports its basic posting settings.
|
|
2037
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Returns a subreddit's posting rules plus Reddit's site-wide rules, so you can check them before submitting and avoid a removal. Use this alongside `POST /v1/tools/validate/subreddit`, which only confirms that a subreddit exists and reports its basic posting settings.
|
|
2038
2038
|
# @param account_id [String] The ID of the Reddit account
|
|
2039
2039
|
# @param subreddit [String] Subreddit name (without the \"r/\" prefix)
|
|
2040
2040
|
# @param [Hash] opts the optional parameters
|
|
@@ -3725,7 +3725,7 @@ module Zernio
|
|
|
3725
3725
|
end
|
|
3726
3726
|
|
|
3727
3727
|
# Set Reddit post flair
|
|
3728
|
-
# Applies a flair to a post the connected account already published. Use the GET on this path to list the available `flairTemplateId` values for the subreddit. Flair can also be set at submit time by passing `flairId` in `platformSpecificData` when creating the post. This endpoint is for changing it afterwards. The subreddit must allow users to select their own post flair. Setting flair on another user's post requires moderator permissions, which Zernio does not request.
|
|
3728
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Applies a flair to a post the connected account already published. Use the GET on this path to list the available `flairTemplateId` values for the subreddit. Flair can also be set at submit time by passing `flairId` in `platformSpecificData` when creating the post. This endpoint is for changing it afterwards. The subreddit must allow users to select their own post flair. Setting flair on another user's post requires moderator permissions, which Zernio does not request.
|
|
3729
3729
|
# @param account_id [String] The ID of the Reddit account that owns the post
|
|
3730
3730
|
# @param set_reddit_post_flair_request [SetRedditPostFlairRequest]
|
|
3731
3731
|
# @param [Hash] opts the optional parameters
|
|
@@ -3736,7 +3736,7 @@ module Zernio
|
|
|
3736
3736
|
end
|
|
3737
3737
|
|
|
3738
3738
|
# Set Reddit post flair
|
|
3739
|
-
# Applies a flair to a post the connected account already published. Use the GET on this path to list the available `flairTemplateId` values for the subreddit. Flair can also be set at submit time by passing `flairId` in `platformSpecificData` when creating the post. This endpoint is for changing it afterwards. The subreddit must allow users to select their own post flair. Setting flair on another user's post requires moderator permissions, which Zernio does not request.
|
|
3739
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Applies a flair to a post the connected account already published. Use the GET on this path to list the available `flairTemplateId` values for the subreddit. Flair can also be set at submit time by passing `flairId` in `platformSpecificData` when creating the post. This endpoint is for changing it afterwards. The subreddit must allow users to select their own post flair. Setting flair on another user's post requires moderator permissions, which Zernio does not request.
|
|
3740
3740
|
# @param account_id [String] The ID of the Reddit account that owns the post
|
|
3741
3741
|
# @param set_reddit_post_flair_request [SetRedditPostFlairRequest]
|
|
3742
3742
|
# @param [Hash] opts the optional parameters
|
|
@@ -4095,7 +4095,7 @@ module Zernio
|
|
|
4095
4095
|
end
|
|
4096
4096
|
|
|
4097
4097
|
# Set default subreddit
|
|
4098
|
-
# Sets the default subreddit used when publishing posts for this Reddit account.
|
|
4098
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Sets the default subreddit used when publishing posts for this Reddit account.
|
|
4099
4099
|
# @param account_id [String]
|
|
4100
4100
|
# @param update_reddit_subreddits_request [UpdateRedditSubredditsRequest]
|
|
4101
4101
|
# @param [Hash] opts the optional parameters
|
|
@@ -4106,7 +4106,7 @@ module Zernio
|
|
|
4106
4106
|
end
|
|
4107
4107
|
|
|
4108
4108
|
# Set default subreddit
|
|
4109
|
-
# Sets the default subreddit used when publishing posts for this Reddit account.
|
|
4109
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Sets the default subreddit used when publishing posts for this Reddit account.
|
|
4110
4110
|
# @param account_id [String]
|
|
4111
4111
|
# @param update_reddit_subreddits_request [UpdateRedditSubredditsRequest]
|
|
4112
4112
|
# @param [Hash] opts the optional parameters
|
|
@@ -4243,7 +4243,7 @@ module Zernio
|
|
|
4243
4243
|
end
|
|
4244
4244
|
|
|
4245
4245
|
# Vote on a Reddit post or comment
|
|
4246
|
-
# Cast, change, or clear the connected account's vote on a Reddit post or comment. **Reddit requires that votes be cast by humans.** Reddit's API terms permit a client to proxy a human's action one-for-one, and prohibit a bot from deciding how to vote or from amplifying a human's vote. Call this endpoint only in direct response to an explicit action by the account owner. Automated or agent-decided voting is vote manipulation and puts API access at risk.
|
|
4246
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Cast, change, or clear the connected account's vote on a Reddit post or comment. **Reddit requires that votes be cast by humans.** Reddit's API terms permit a client to proxy a human's action one-for-one, and prohibit a bot from deciding how to vote or from amplifying a human's vote. Call this endpoint only in direct response to an explicit action by the account owner. Automated or agent-decided voting is vote manipulation and puts API access at risk.
|
|
4247
4247
|
# @param account_id [String] The ID of the Reddit account casting the vote
|
|
4248
4248
|
# @param vote_reddit_thing_request [VoteRedditThingRequest]
|
|
4249
4249
|
# @param [Hash] opts the optional parameters
|
|
@@ -4254,7 +4254,7 @@ module Zernio
|
|
|
4254
4254
|
end
|
|
4255
4255
|
|
|
4256
4256
|
# Vote on a Reddit post or comment
|
|
4257
|
-
# Cast, change, or clear the connected account's vote on a Reddit post or comment. **Reddit requires that votes be cast by humans.** Reddit's API terms permit a client to proxy a human's action one-for-one, and prohibit a bot from deciding how to vote or from amplifying a human's vote. Call this endpoint only in direct response to an explicit action by the account owner. Automated or agent-decided voting is vote manipulation and puts API access at risk.
|
|
4257
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Cast, change, or clear the connected account's vote on a Reddit post or comment. **Reddit requires that votes be cast by humans.** Reddit's API terms permit a client to proxy a human's action one-for-one, and prohibit a bot from deciding how to vote or from amplifying a human's vote. Call this endpoint only in direct response to an explicit action by the account owner. Automated or agent-decided voting is vote manipulation and puts API access at risk.
|
|
4258
4258
|
# @param account_id [String] The ID of the Reddit account casting the vote
|
|
4259
4259
|
# @param vote_reddit_thing_request [VoteRedditThingRequest]
|
|
4260
4260
|
# @param [Hash] opts the optional parameters
|
|
@@ -20,7 +20,7 @@ module Zernio
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Get subreddit feed
|
|
23
|
-
# Fetch posts from a subreddit feed. Supports sorting, time filtering, and cursor-based pagination.
|
|
23
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Fetch posts from a subreddit feed. Supports sorting, time filtering, and cursor-based pagination.
|
|
24
24
|
# @param account_id [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @option opts [String] :subreddit
|
|
@@ -35,7 +35,7 @@ module Zernio
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
# Get subreddit feed
|
|
38
|
-
# Fetch posts from a subreddit feed. Supports sorting, time filtering, and cursor-based pagination.
|
|
38
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Fetch posts from a subreddit feed. Supports sorting, time filtering, and cursor-based pagination.
|
|
39
39
|
# @param account_id [String]
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @option opts [String] :subreddit
|
|
@@ -111,7 +111,7 @@ module Zernio
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
# Get the comments of a Reddit post
|
|
114
|
-
# Reads the comments of any Reddit post the connected account can see, for example one found through `/v1/reddit/feed` or `/v1/reddit/search`, straight from Reddit on every call. The tree comes flattened in thread order (a reply follows its parent); rebuild it from `parentId`, which is `t3_…` for a reply to the post and `t1_…` for a reply to a comment. Deleted and removed comments are passed through as Reddit sends them (`[deleted]` / `[removed]`). Where Reddit truncates a thread, the ids it left out are listed in `more`; `commentId` fetches one such comment with its replies. A post Reddit no longer serves answers 404 and a private subreddit 403, both with `platform_api_error`. For comments on posts published through Zernio, `/v1/inbox/comments/{postId}` adds caching, moderation and replies.
|
|
114
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Reads the comments of any Reddit post the connected account can see, for example one found through `/v1/reddit/feed` or `/v1/reddit/search`, straight from Reddit on every call. The tree comes flattened in thread order (a reply follows its parent); rebuild it from `parentId`, which is `t3_…` for a reply to the post and `t1_…` for a reply to a comment. Deleted and removed comments are passed through as Reddit sends them (`[deleted]` / `[removed]`). Where Reddit truncates a thread, the ids it left out are listed in `more`; `commentId` fetches one such comment with its replies. A post Reddit no longer serves answers 404 and a private subreddit 403, both with `platform_api_error`. For comments on posts published through Zernio, `/v1/inbox/comments/{postId}` adds caching, moderation and replies.
|
|
115
115
|
# @param post_id [String] Reddit post id, with or without the `t3_` prefix (as `id` or `fullname` on RedditPost).
|
|
116
116
|
# @param account_id [String] An active Reddit account the request is made as.
|
|
117
117
|
# @param [Hash] opts the optional parameters
|
|
@@ -125,7 +125,7 @@ module Zernio
|
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
# Get the comments of a Reddit post
|
|
128
|
-
# Reads the comments of any Reddit post the connected account can see, for example one found through `/v1/reddit/feed` or `/v1/reddit/search`, straight from Reddit on every call. The tree comes flattened in thread order (a reply follows its parent); rebuild it from `parentId`, which is `t3_…` for a reply to the post and `t1_…` for a reply to a comment. Deleted and removed comments are passed through as Reddit sends them (`[deleted]` / `[removed]`). Where Reddit truncates a thread, the ids it left out are listed in `more`; `commentId` fetches one such comment with its replies. A post Reddit no longer serves answers 404 and a private subreddit 403, both with `platform_api_error`. For comments on posts published through Zernio, `/v1/inbox/comments/{postId}` adds caching, moderation and replies.
|
|
128
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Reads the comments of any Reddit post the connected account can see, for example one found through `/v1/reddit/feed` or `/v1/reddit/search`, straight from Reddit on every call. The tree comes flattened in thread order (a reply follows its parent); rebuild it from `parentId`, which is `t3_…` for a reply to the post and `t1_…` for a reply to a comment. Deleted and removed comments are passed through as Reddit sends them (`[deleted]` / `[removed]`). Where Reddit truncates a thread, the ids it left out are listed in `more`; `commentId` fetches one such comment with its replies. A post Reddit no longer serves answers 404 and a private subreddit 403, both with `platform_api_error`. For comments on posts published through Zernio, `/v1/inbox/comments/{postId}` adds caching, moderation and replies.
|
|
129
129
|
# @param post_id [String] Reddit post id, with or without the `t3_` prefix (as `id` or `fullname` on RedditPost).
|
|
130
130
|
# @param account_id [String] An active Reddit account the request is made as.
|
|
131
131
|
# @param [Hash] opts the optional parameters
|
|
@@ -198,7 +198,7 @@ module Zernio
|
|
|
198
198
|
end
|
|
199
199
|
|
|
200
200
|
# Search posts
|
|
201
|
-
# Search Reddit posts using a connected account. Optionally scope to a specific subreddit.
|
|
201
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Search Reddit posts using a connected account. Optionally scope to a specific subreddit.
|
|
202
202
|
# @param account_id [String]
|
|
203
203
|
# @param q [String]
|
|
204
204
|
# @param [Hash] opts the optional parameters
|
|
@@ -214,7 +214,7 @@ module Zernio
|
|
|
214
214
|
end
|
|
215
215
|
|
|
216
216
|
# Search posts
|
|
217
|
-
# Search Reddit posts using a connected account. Optionally scope to a specific subreddit.
|
|
217
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Search Reddit posts using a connected account. Optionally scope to a specific subreddit.
|
|
218
218
|
# @param account_id [String]
|
|
219
219
|
# @param q [String]
|
|
220
220
|
# @param [Hash] opts the optional parameters
|
|
@@ -224,7 +224,7 @@ module Zernio
|
|
|
224
224
|
end
|
|
225
225
|
|
|
226
226
|
# Check subreddit existence
|
|
227
|
-
# Check if a subreddit exists and return basic info (title, subscriber count, NSFW status, post types allowed). When accountId is provided, uses authenticated Reddit OAuth API with automatic token refresh (recommended). Falls back to Reddit's public JSON API, which may be unreliable from server IPs. Returns exists: false for private, banned, or nonexistent subreddits.
|
|
227
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Check if a subreddit exists and return basic info (title, subscriber count, NSFW status, post types allowed). When accountId is provided, uses authenticated Reddit OAuth API with automatic token refresh (recommended). Falls back to Reddit's public JSON API, which may be unreliable from server IPs. Returns exists: false for private, banned, or nonexistent subreddits.
|
|
228
228
|
# @param name [String] Subreddit name (with or without \"r/\" prefix)
|
|
229
229
|
# @param [Hash] opts the optional parameters
|
|
230
230
|
# @option opts [String] :account_id Reddit account ID for authenticated lookup (recommended for reliable results)
|
|
@@ -235,7 +235,7 @@ module Zernio
|
|
|
235
235
|
end
|
|
236
236
|
|
|
237
237
|
# Check subreddit existence
|
|
238
|
-
# Check if a subreddit exists and return basic info (title, subscriber count, NSFW status, post types allowed). When accountId is provided, uses authenticated Reddit OAuth API with automatic token refresh (recommended). Falls back to Reddit's public JSON API, which may be unreliable from server IPs. Returns exists: false for private, banned, or nonexistent subreddits.
|
|
238
|
+
# Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 `PLATFORM_DISABLED` until Reddit restores access. Reddit Ads is not affected. Check if a subreddit exists and return basic info (title, subscriber count, NSFW status, post types allowed). When accountId is provided, uses authenticated Reddit OAuth API with automatic token refresh (recommended). Falls back to Reddit's public JSON API, which may be unreliable from server IPs. Returns exists: false for private, banned, or nonexistent subreddits.
|
|
239
239
|
# @param name [String] Subreddit name (with or without \"r/\" prefix)
|
|
240
240
|
# @param [Hash] opts the optional parameters
|
|
241
241
|
# @option opts [String] :account_id Reddit account ID for authenticated lookup (recommended for reliable results)
|
data/lib/zernio-sdk/version.rb
CHANGED