Preview or send shared data
freeapply_share_dataPreview or send the exact data you chose to share with the FreeApply server, including anonymous analytics and optional talent-pool requests, so you can verify what leaves your computer before anything is sent.
Instructions
Shows or sends the exact data the user chose to share with the FreeApply server (the sharing choices themselves: freeapply_get_settings). Use: preview when the user asks what is shared; 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: read-only, sends nothing, safe any time. sync: sends over the internet only what the current choices allow; can't be undone from here (the user can delete shared data in the dashboard); refused moments after the last sync. Returns: preview: the exact requests that would be sent: analytics_request (anonymous usage and job-market data), the talent-pool request only if the user joined; secrets hidden. sync: {sent, result} or {sent: false, reason}: Terms not accepted, a sync moments ago, or the server unreachable (the automatic sync retries later). Errors: an action other than preview or sync.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | preview (read-only, the usual choice): show what would be sent; sync (only when the user asks): send it now. |