GET /api/v1/region/:region/user_submissions.json
Fetch user submissions for a single region

GET /api/v1/user_submissions.json
Fetch global user submissions feed

Params

Param name Description
region
required

Name of the Region you want to see user submissions for

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

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

include_locationless
optional

When present, includes new_msx submissions that have no associated location (for app versions that support non-pressable activity items)

Validations:

  • Must be a Integer


GET /api/v1/user_submissions/location.json
Fetch user submissions for a location

Supported Formats

json

Params

Param name Description
id
required

ID of location

Validations:

  • Must be a Integer

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

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


GET /api/v1/user_submissions/delete_location.json
Fetch list of deleted locations from the past year

Supported Formats

json

GET /api/v1/user_submissions/total_user_submission_count.json
Fetch total count of user submissions

Fetch total count of user submissions

Supported Formats

json

GET /api/v1/user_submissions/total_user_submission_count_week.json
Fetch total count of user submissions for the past week

Fetch total count of user submissions

Supported Formats

json

GET /api/v1/user_submissions/top_users.json
Fetch top 25 users by submission count

Fetch top 25 users by submission count

Supported Formats

json

GET /api/v1/user_submissions/list_within_range.json
Fetch user submissions within N miles of provided lat/lon

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