/members/self/criteria [GET]

Retrieve My Match search criteria for the current member - protected.

Parameters

none

Response Messages

200 OK - success

The response includes a key for each named criteria (see the matches section of GET /searches/questions for possible values). At a minimum you will get age and location. You may also get locationlabel which can be used to display details of the search location. You may also get zipcode and country. zipcode should be considered legacy at this point.

Each criterion will have one of the following representations:

  • from / to - if the criterion is a range (such as age or height)
  • within / of - if the criterion is a geolocation (within a certain number of miles of a location)
  • value - a single string or numeric value
  • values - a set of numeric values that the member wishes to search for
{
  "age" : {"from" : 18, "to" : 33},
  "location" : {"within" : 150, "of" : "37.7188649,-122.0780632"},
  "locationlabel" : {"value" : "Castro Valley, California"},
  "country" : {"value" : "US"},
  "build" : {"values" : [70, 90, 60, 80]}
}