Perfomatic:API: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: The graph server API is a REST API with a JSON only response format. Documented endpoints: * '''/tests/all''' - returns list of all continuous tests * '''/tests/get/'''''testId'' - return...)
 
No edit summary
Line 3: Line 3:
Documented endpoints:
Documented endpoints:
* '''/tests/all''' - returns list of all continuous tests
* '''/tests/all''' - returns list of all continuous tests
** Example response:
{
    'stat':'ok',
    'tests': [
            {
                'id':123,
                'name':'Tp3',
                'branch':'1.9',
                'os':'WinXP',
            },
            {
                'id':23,
                'name':'Ts',
                'branch:'1.8',
                'os':'Vista'
            }
    ]
}
* '''/tests/get/'''''testId'' - returns test runs for test_id, default date limit is 4 weeks, sorted by date descending
* '''/tests/get/'''''testId'' - returns test runs for test_id, default date limit is 4 weeks, sorted by date descending
* '''/testrun/get/'''''testRunId'' - returns test run results for a specific test_run_id,
* '''/testrun/get/'''''testRunId'' - returns test run results for a specific test_run_id,

Revision as of 18:18, 3 October 2008

The graph server API is a REST API with a JSON only response format.

Documented endpoints:

  • /tests/all - returns list of all continuous tests
    • Example response:
{
   'stat':'ok',
   'tests': [
            {
                'id':123,
                'name':'Tp3',
                'branch':'1.9',
                'os':'WinXP',
            },
            {
                'id':23,
                'name':'Ts',
                'branch:'1.8',
                'os':'Vista'
            }
   ]
}
  • /tests/get/testId - returns test runs for test_id, default date limit is 4 weeks, sorted by date descending
  • /testrun/get/testRunId - returns test run results for a specific test_run_id,