Perfomatic:API: Difference between revisions

No edit summary
Line 116: Line 116:


=== Get latest test run for a test ===
=== Get latest test run for a test ===
* http://graphs.mozilla.org/api/test/runs/latest?id=TESTID&branchid=BRANCHID&machineid=MACHINEID - returns test run information for a specific testRunId
** Example response
{
    'stat':'ok',
    'testrun': {
        'id':98,
        'build': {
            'id':23,
            'build_id':'2007072704',
            'changeset':'572a00c0e251',
            'os':'Vista',
        },
        'date_run':1208830929,
        'average':92.4,
        'annotations': [
            {
              'note':'Something happened here',
              'bug_id':988740
            }
        ]
    }
}


=== Get test run information ===
=== Get test run information ===
975

edits