Fetch list of favorite locations
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
Fetch total count of users
Adds a location to your fave list
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
location_id
required |
ID of location to add Validations:
|
Removes a location from your fave list
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
location_id
required |
ID of location to remove Validations:
|
This info includes the user’s API token. Send login and password in the request body; GET with query params is deprecated because it exposes the password in URLs and logs.
| Param name | Description |
|---|---|
|
login
required |
User’s username or email address Validations:
|
|
password
required |
User’s password Validations:
|
Reset a forgotten password
| Param name | Description |
|---|---|
|
identification
required |
A username or email address Validations:
|
Resend an account confirmation
| Param name | Description |
|---|---|
|
identification
required |
A username or email address Validations:
|
Signup a new user for the PBM
| Param name | Description |
|---|---|
|
username
required |
New username Validations:
|
|
email
required |
New email address Validations:
|
|
password
required |
New password Validations:
|
|
confirm_password
required |
New password confirmation Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
new_score_list_only
optional |
When present, the old high score list is gone (recent 50); only showing the new list of highest high score per machine, all scores per machine, and average and count Validations:
|
|
life_list
optional |
When present, returns the life list (all machines the user has played) with associated score data instead of profile_machine_scores_stats Validations:
|
|
life_list_ids_only
optional |
When present, returns only id and life_list_machine_ids (the machine_ids on the user’s life list), skipping all other profile_info fields. Takes precedence over life_list and new_score_list_only. Validations:
|
When no params are provided, returns all machines on at least one life list, sorted by count descending.
| Param name | Description |
|---|---|
|
by_machine_id
optional |
Machine ID to query Validations:
|
|
by_user_id
optional |
User ID to query Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
machine_id
required |
ID of machine to add Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
machine_id
required |
ID of machine to remove Validations:
|
Permanently delete your user account
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
Update email address for a user
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
current_password
required |
Current password Validations:
|
|
email
required |
New email address Validations:
|
Update password for a user
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
current_password
required |
Current password Validations:
|
|
password
required |
New password Validations:
|
|
password_confirmation
required |
New password confirmation Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
flag
optional |
ISO code for flag Validations:
|