975
edits
| Line 36: | Line 36: | ||
* '''/api/test/''testId''/runs/''' - returns test runs for a specific testId, default date limit is 4 weeks, sorted by date descending | * '''/api/test/''testId''/runs/''' - returns test runs for a specific testId, default date limit is 4 weeks, sorted by date descending | ||
** Data is sent in a compressed form due to the large amount of information | |||
** Indexes: | |||
*** 0: testrunid | |||
*** 1: build | |||
**** 0: buildid | |||
**** 1: refbuildid | |||
**** 2: changeset | |||
**** 3: OS | |||
*** 2: date | |||
*** 3: average | |||
*** 4: annotations (array) | |||
**** 0: note | |||
**** 1: bugid | |||
** Example response: | ** Example response: | ||
{ | { | ||
'stat':'ok', | 'stat':'ok', | ||
'test_runs': [ | 'test_runs': [ | ||
[98, {23, '2007072704', '572a00c0e251', 'Vista'}, 1208830929, 92.4, [['Something happened here', 988740]]], | [98, {23, '2007072704', '572a00c0e251', 'Vista'}, 1208830929, 92.4, <nowiki>[['Something happened here', 988740]]],</nowiki> | ||
[99, {23, '2007072704', '572a00c0e251', 'Vista'}, 1208834503, 87.3] | [99, {23, '2007072704', '572a00c0e251', 'Vista'}, 1208834503, 87.3] | ||
] | ] | ||
edits