Get service worker settings
pushengage_get_service_worker_settingsFetch the current Service Worker settings for your site: whether registration is enabled, subfolder support, and the service worker file path.
Instructions
Returns the current site's Service Worker Settings (from the Advanced Settings page), using the dashboard labels: enable_service_worker_registration ("Enable the service worker registration from PushEngage"), enable_service_worker_in_subfolder ("Enable addition of service worker in another sub-folder"), and service_worker_file_path ("Path for service worker file").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Override the currently selected site. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_worker_file_path | No | ||
| enable_service_worker_in_subfolder | No | ||
| enable_service_worker_registration | No |