Params

Param name Description
lat
required

Latitude

Validations:

  • Must be a String

lon
required

Longitude

Validations:

  • Must be a String

max_distance
optional

Closest location within “max_distance” miles, max of 250

Validations:

  • Must be a String

min_date_of_submission
optional

Earliest date to consider updates from, format YYYY-MM-DD

Validations:

  • Must be a String

submission_type
optional

Type of submission to filter to. Multiple filters can be formatted as ;submission_type[]=remove_machine;submission_type[]=new_lmx etc.

Validations:

  • Must be a String

region_id
optional

Limit results to a region

Validations:

  • Must be a String

user_id
optional

Limits results to submissions from a single user

Validations:

  • Must be a Integer

user_name
optional

Limits results to submissions from a single user

Validations:

  • Must be a String

restrict_to
optional

Restrict this specific submission type to a single user. Requires user_id param to be included; if user_id param is not included, then the submission type specified here is excluded completely. This is used in the app to show submission types from everyone except the high scores only from the current user, or no scores if not signed in

Validations:

  • Must be a String

limit
optional

Limit results to a quantity and include pagination metadata in response

Validations:

  • Must be a Integer

machine_id
optional

Limit results by machine. Multiple machines can be chained as ;machine_id[]=111;machine_id[]=222 etc

Validations:

  • Must be a Integer

user_faved
optional

Limit results to locations favorited by this user ID

Validations:

  • Must be a Integer