div-action-download
Loads additional data in div-patch
format and updates the current element.
Parameters
Parameters | Description |
---|---|
type |
string Required parameter. The value must always be Available platforms: Android. |
url |
string Required parameter. Link for receiving changes. Available platforms: Android. |
on_fail_actions |
array Actions in case of unsuccessful loading if the host reported it or the waiting time expired. Available platforms: Android. |
on_success_actions |
array Actions in case of successful loading. Available platforms: Android. |
JSON
{
type*: "download",
on_fail_actions: [
{
download_callbacks: {
on_fail_actions: [ div-action, ... ],
on_success_actions: [ div-action, ... ]
},
is_enabled: "bool_int",
log_id*: "string",
log_url: "string",
menu_items: [
{
action: div-action,
actions: [ div-action, ... ],
text*: "string"
},
...
],
payload: "object",
referer: "string",
scope_id: "string",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
on_success_actions: [
{
download_callbacks: {
on_fail_actions: [ div-action, ... ],
on_success_actions: [ div-action, ... ]
},
is_enabled: "bool_int",
log_id*: "string",
log_url: "string",
menu_items: [
{
action: div-action,
actions: [ div-action, ... ],
text*: "string"
},
...
],
payload: "object",
referer: "string",
scope_id: "string",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
url*: "string"
}