Get User Tests

GET /api/user/tests/<user_id>/<secret>

Retrieves tests associated with a specific user from the database.

Request Parameters

Example Request

curl -X GET "https://url/api/user/tests/123/your_secret_key_here"

Example Response

[
  {
    "test_type": "words",
    "test_length": 300,
    "test_time": 60,
    "test_seed": 0,
    "quote_id": 0,
    "wpm": 60,
    "accuracy": 100
  },
  {
    "test_type": "words",
    "test_length": 47,
    "test_time": 15,
    "test_seed": 0,
    "quote_id": 0,
    "wpm": 37,
    "accuracy": 98
  },
  ...
]