zernio-sdk 0.0.816 → 0.0.817
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 +1 -1
- data/lib/zernio-sdk/api/connect_api.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +2 -2
- data/spec/api/connect_api_spec.rb +1 -1
- 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: f35aa4456d464479ae09dcc01c3fe314a570c94320d6ab8be33777455ce577b0
|
|
4
|
+
data.tar.gz: 5340300bc756bff9f9081a0ef6c9b20e106c7753167f20cd7ea0a2b38ab17faa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 907ee3d87809fbbbeb22e5db58e103a9ebcdf47c21c44f2b3d39892f86fd1095c53a8406a74ea61ab75ee16a01f92f8c0aa2b33ee0a2c412208fc7cf9382202e
|
|
7
|
+
data.tar.gz: 4caff34f640d85899694b2c671ec8629f36aebd7c44ec6a1a55c95b59c0a616c7fefeb3dc5a3e693d88fd21559bf0512a04ede802f6097ef3383a65c410d8586
|
data/docs/ConnectApi.md
CHANGED
|
@@ -1279,7 +1279,7 @@ end
|
|
|
1279
1279
|
|
|
1280
1280
|
Get pending OAuth data
|
|
1281
1281
|
|
|
1282
|
-
Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook
|
|
1282
|
+
Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Google Business locations, Slack channels, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook and other platforms pass selection state directly via URL query params on the redirect (`profileId`, `tempToken`, `step`), no pending record is created, so this endpoint will return 404 for those flows. Use the platform-specific selection endpoint instead (e.g. `/v1/connect/whatsapp/select-phone-number`). Reading the token does not consume it, so this fetch is repeatable until the token expires 1 hour after issuance. Completing the platform selection deletes the pending record, so the token stops working from then on. No authentication required.
|
|
1283
1283
|
|
|
1284
1284
|
### Examples
|
|
1285
1285
|
|
|
@@ -1244,7 +1244,7 @@ module Zernio
|
|
|
1244
1244
|
end
|
|
1245
1245
|
|
|
1246
1246
|
# Get pending OAuth data
|
|
1247
|
-
# Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook
|
|
1247
|
+
# Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Google Business locations, Slack channels, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook and other platforms pass selection state directly via URL query params on the redirect (`profileId`, `tempToken`, `step`), no pending record is created, so this endpoint will return 404 for those flows. Use the platform-specific selection endpoint instead (e.g. `/v1/connect/whatsapp/select-phone-number`). Reading the token does not consume it, so this fetch is repeatable until the token expires 1 hour after issuance. Completing the platform selection deletes the pending record, so the token stops working from then on. No authentication required.
|
|
1248
1248
|
# @param token [String] The pending data token from the OAuth redirect URL (pendingDataToken parameter)
|
|
1249
1249
|
# @param [Hash] opts the optional parameters
|
|
1250
1250
|
# @return [GetPendingOAuthData200Response]
|
|
@@ -1254,7 +1254,7 @@ module Zernio
|
|
|
1254
1254
|
end
|
|
1255
1255
|
|
|
1256
1256
|
# Get pending OAuth data
|
|
1257
|
-
# Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook
|
|
1257
|
+
# Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Google Business locations, Slack channels, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook and other platforms pass selection state directly via URL query params on the redirect (`profileId`, `tempToken`, `step`), no pending record is created, so this endpoint will return 404 for those flows. Use the platform-specific selection endpoint instead (e.g. `/v1/connect/whatsapp/select-phone-number`). Reading the token does not consume it, so this fetch is repeatable until the token expires 1 hour after issuance. Completing the platform selection deletes the pending record, so the token stops working from then on. No authentication required.
|
|
1258
1258
|
# @param token [String] The pending data token from the OAuth redirect URL (pendingDataToken parameter)
|
|
1259
1259
|
# @param [Hash] opts the optional parameters
|
|
1260
1260
|
# @return [Array<(GetPendingOAuthData200Response, Integer, Hash)>] GetPendingOAuthData200Response data, response status code and response headers
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -20508,9 +20508,9 @@ paths:
|
|
|
20508
20508
|
description: |
|
|
20509
20509
|
Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL.
|
|
20510
20510
|
|
|
20511
|
-
**Scope**: This endpoint is used for LinkedIn organizations, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook
|
|
20511
|
+
**Scope**: This endpoint is used for LinkedIn organizations, Google Business locations, Slack channels, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook and other platforms pass selection state directly via URL query params on the redirect (`profileId`, `tempToken`, `step`), no pending record is created, so this endpoint will return 404 for those flows. Use the platform-specific selection endpoint instead (e.g. `/v1/connect/whatsapp/select-phone-number`).
|
|
20512
20512
|
|
|
20513
|
-
|
|
20513
|
+
Reading the token does not consume it, so this fetch is repeatable until the token expires 1 hour after issuance. Completing the platform selection deletes the pending record, so the token stops working from then on. No authentication required.
|
|
20514
20514
|
parameters:
|
|
20515
20515
|
- name: token
|
|
20516
20516
|
in: query
|
|
@@ -257,7 +257,7 @@ describe 'ConnectApi' do
|
|
|
257
257
|
|
|
258
258
|
# unit tests for get_pending_o_auth_data
|
|
259
259
|
# Get pending OAuth data
|
|
260
|
-
# Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook
|
|
260
|
+
# Fetch pending OAuth data for headless mode using the pendingDataToken from the redirect URL. **Scope**: This endpoint is used for LinkedIn organizations, Google Business locations, Slack channels, Snapchat profiles, and Pinterest boards, where the selection list is too large to fit in URL params. The redirect carries a `pendingDataToken` instead of the full payload; the response includes the corresponding selection array (e.g. `boards` for Pinterest). WhatsApp, Facebook and other platforms pass selection state directly via URL query params on the redirect (`profileId`, `tempToken`, `step`), no pending record is created, so this endpoint will return 404 for those flows. Use the platform-specific selection endpoint instead (e.g. `/v1/connect/whatsapp/select-phone-number`). Reading the token does not consume it, so this fetch is repeatable until the token expires 1 hour after issuance. Completing the platform selection deletes the pending record, so the token stops working from then on. No authentication required.
|
|
261
261
|
# @param token The pending data token from the OAuth redirect URL (pendingDataToken parameter)
|
|
262
262
|
# @param [Hash] opts the optional parameters
|
|
263
263
|
# @return [GetPendingOAuthData200Response]
|