Preview or send shared data
freeapply_shared_dataPreview the exact data you share with the FreeApply server or send it now; automatic sync runs every 12 hours.
Instructions
Shows or sends the data the user chose to share with the FreeApply server. Unlike freeapply_get_settings, which shows the sharing choices, it shows the exact data those choices send. Use preview when the user asks what is shared, and sync only when the user asks to send now; it also runs on its own every 12 hours. Not for changing the choices: the user does that in the dashboard (Settings, Data sharing). Behavior: preview is read-only and sends nothing. sync sends over the internet only what the current choices allow and can't be undone from here; the user can delete their shared data in the dashboard. Parameters: action preview is safe to call any time; action sync sends now and is refused moments after the last sync. Returns: preview: the exact requests that would be sent: analytics_request (anonymous usage and job-market data) and the talent-pool request, only if the user joined, secrets hidden. sync: {sent, result}, or {sent: false, reason}: the Terms not accepted, a sync moments ago, or the server unreachable (the automatic sync retries later). Errors: another action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | preview shows what would be sent; sync sends it now. |