GET Returns item records belonging to a test. POST sets items to a test.
GET /test/<test_id>/items HTTP/1.1
See /item for more information regarding fields returned in this query.
Changing Test Items
Performing a POST to /test/:testId/items has the effect of setting the test items to the new array supplied. Here's an example exchange.
POST /test/<test_id>/items?client_id=XXX&client_secret=YYY HTTP/1.1
- You may only assign as many as 100 items to a single test.
- Setting test items is not an atomic operation. Therefore, you must ensure this route is only ever called one-at-a-time. Simultaneous (or near-simultaneous) calls to this route will result in an inconsistent set of items being set for this test. This is a known issue and we are working on a way to prevent inadvertent simultaneous writes to this route.