2.1.1 Tests object

Represents a user's tests, or a subset thereof.

Example

{
  "total" : 3,
  "open" : 2,
  "completed" : 1,
  "tests" : [ {
    "id": "bll4SqojZ2zvdMxYnFT6FA",
    "title": "Famous actors",
    "drills" : [ "vEnKzwihv2NPSArwvdteww.Wy75", "Ij9-TPxnbLc_7VS-hIuUbg.Qc2G" ],
    "direction": "BIDIRECTIONAL",
    "style": "MULTIPLE_CHOICE",
    "group": "ubbI_HxUr2-UhMEkz0gqqKB-0wzeHAJzM6vlL1te6wI",
    "testType": "GROUP",
    "disclosure" : [ "OVERALL_SCORE", "CORRECTIONS", "COMPONENT_SCORES", "METADATA" ],
    "columns" : [ "Period", "Actor / Actress" ],
    "questions" : [ 23 ],
    "created": "2014-07-16T09:18:09Z",
    "testResults" : [ {
      "score" : {
        "percentage" : 78
      },
      "started": "2014-07-16T09:19:56Z",
      "completed": "2014-07-16T09:20:21Z",
      "progress" : 1.0,
    } ],
    "icon" : {
      "type": "image/jpeg",
      "url": "https://www.drillster.com/bin/feature/b68b28a4da2287c5c9b5861543b8144bc1720fed"
    }
  }, {
    "id": "juo41SxWoJYBY_XhzZ3jPg",
    "title": "French vocabulary",
    "drills" : [ "VPZVb_UPStSLmVWdGgG8WA.4o9V" ],
    "direction": "RECEPTIVE",
    "style": "MULTIPLE_CHOICE",
    "group": "ubbI_HxUez-UhMfkz0gqMKB-0wzeHAJzM6vlL1te6wI",
    "testType": "GROUP",
    "disclosure" : [ ],
    "columns" : [ "French" ],
    "questions" : [ 25 ],
    "created": "2014-09-05T12:45:46Z",
    "icon" : {
      "type": "image/jpeg",
      "url": "https://www.drillster.com/bin/feature/b68b28a4123287c5c9b586f9cb48144bc1720fed"
    }
  } ]
}

Fields

Field Type Description
total
required
Integer The number of entries in the list. This is the sum of the number of open tests and completed tests.

Example value: 3
open
optional
Integer The number of tests that have not yet been started or are in progress. This attribute is not included if the request was for "completed" tests only.

Example value: 2
completed
optional
Integer The number of tests that have been completed and have not been restarted. If a test was previously completed, but is being taken again, it is counted as "open". This attribute is not included if the request was for "open" tests only.

Example value: 1
tests
required
List of 2.1.1 Test objects The list of tests.