BlockRepeatedIP

Error message

  • Notice: Undefined index: menu_name in menu_tree_page_data() (line 1277 of /var/www/1ka.si/www/frontend/drupal/includes/menu.inc).
  • Notice: Undefined index: menu_name in menu_tree_page_data() (line 1277 of /var/www/1ka.si/www/frontend/drupal/includes/menu.inc).

BlockRepeatedIP – change survey setting for IP blocking
request_method: POST

Parameters:

  • action= BlockRepeatedIP
  • sur_id= 123; //survey ID

JSON parameters in POST:

// blockIP – setting in minutes.
// Possible options are 10, 20, 30, 60, 720, 1440, 0=ip blocking off
{"blockIP":1440}

Response example:

{"note":"Blocking redundant IP has been successfully changed"}