Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(init): popup response fieldes description #132

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions source/includes/_init.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,22 @@ If you don't have device identifier (first launch on new device), you have to re
| | | * safari_id - a string. If safari_enable is false. The string is empty |
| | | * service_worker - a string with a path to the service worker |
| recone | boolean | A boolean value |

### Popup response

| Name | Type |
|-----------------|---------------|
| id | Integer |
| channels | String (JSON) |
| position | String |
| delay | Integer |
| html | String |
| components | String (HTML) |
| web_push_system | Boolean |
| popup_actions | String (JSON) |

The components field is designed for use with mobile pop-ups