GET /api/v1/region/:region/machine_score_xrefs.json
Fetch all high scores for a region

Supported Formats

json

Params

Param name Description
region
required

Name of the Region you want to see scores for

Validations:

  • Must be a String

zone_id
optional

ID of the zone you want to see scores for

Validations:

  • Must be a Integer

limit
optional

Limit number of results returned

Validations:

  • Must be a Integer


GET /api/v1/machine_score_xrefs/:id.json
View all high scores for a location's machine

Supported Formats

json

Params

Param name Description
id
required

The location machine ID (LMX ID), NOT the machine ID

Validations:

  • Must be a Integer

user_id
optional

Limits to scores from a single user for this machine

Validations:

  • Must be a Integer


GET /api/v1/machine_score_xrefs/highest.json
View highest high score for a machine

Supported Formats

json

Params

Param name Description
by_machine_id
optional

Limit to the highest score for this machine ID

Validations:

  • Must be a Integer

by_user_id
optional

Limit to highest score for a single user

Validations:

  • Must be a Integer


POST /api/v1/machine_score_xrefs.json
Enter a new high score for a machine

Supported Formats

json

Params

Param name Description
location_machine_xref_id
optional

Location machine identifier for high score. Required unless machine_id is provided.

Validations:

  • Must be a Integer

machine_id
optional

Machine ID to record a locationless high score. Used when no location_machine_xref_id is available.

Validations:

  • Must be a Integer

score
optional

A pinball machine high score

Validations:

  • Must be a String


PUT /api/v1/machine_score_xrefs/:id.json
Update a high score

Supported Formats

json

Params

Param name Description
id
required

ID of the high score you want to update

Validations:

  • Must be a Integer

score
required

Updated score

Validations:

  • Must be a String


DESTROY /api/v1/machine_score_xrefs/:id.json
Destroy a single high score

Params

Param name Description
id
required

ID of the high score you want to destroy

Validations:

  • Must be a String