Page MenuHomeDatingVIP

Lists
Updated 3,080 Days AgoPublic

Lists

Getting list:

Request:

$result = $DVIP->get('/lists/get-list', array('list' => LIST));

Valid LIST type:

  • blocked
  • favorites
  • ignored
  • private
  • requests

Examples

Success when list is empty:

{
  "data": [],
  "success": 1
}

Success when list have data:

{
  "data": [
    "1870705",
    "1874923",
    "1881969",
    "1914392",
    "2034177"
  ],
  "success": 1
}

Error example:

{
  "errors": [
    "Invalid list name"
  ],
  "success": 0
}

Adding user to list

Request:

$result = $DVIP->get('/lists/add-to-list', array('list' => LIST, 'user_id' => 1234));

Optional parameters:

  • comment (string, why user is on that list)

Success:

{
  "success": 1
}

Error example:

{
  "errors": [
    "Invalid list name"
  ],
  "success": 0
}

Removing user from list

Request:

$result = $DVIP->get('/lists/remove-from-list', array('list' => LIST, 'user_id' => 1234));

Success:

{
  "success": 1
}

Error:

{
  "errors": [
    "Invalid list name"
  ],
  "success": 0
}
Last Author
boris
Last Edited
Jun 15 2016, 15:52

Event Timeline

boris moved this document from Unknown Object (Phriction Wiki Document).
boris changed the visibility from "All Users" to "Public (No Login Required)".Jun 15 2016, 15:59
boris shifted this object from the Restricted Space space to the S6 Everyone space.Aug 8 2018, 08:10