Perfomatic:API: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
'branch':'1.9', | 'branch':'1.9', | ||
'os':'WinXP', | 'os':'WinXP', | ||
'machine':'qm-pxp03-cycles-5', | |||
}, | }, | ||
{ | { | ||
| Line 18: | Line 19: | ||
'branch:'1.8', | 'branch:'1.8', | ||
'os':'Vista' | 'os':'Vista' | ||
'machine':'qm-pxp03-cycles-20', | |||
} | } | ||
] | ] | ||
} | } | ||
* '''/tests/ | * '''/tests/runs/'''''testId'' - returns test runs for test_id, default date limit is 4 weeks, sorted by date descending | ||
** Example response: | |||
{ | |||
'stat':'ok', | |||
'test_runs': [ | |||
{ | |||
'id':98, | |||
'build': { | |||
'id':23, | |||
'build_id':'2007072704', | |||
'changeset':'572a00c0e251', | |||
} | |||
} | |||
] | |||
} | |||
* '''/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 19:41, 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',
'machine':'qm-pxp03-cycles-5',
},
{
'id':23,
'name':'Ts',
'branch:'1.8',
'os':'Vista'
'machine':'qm-pxp03-cycles-20',
}
]
}
- /tests/runs/testId - returns test runs for test_id, default date limit is 4 weeks, sorted by date descending
- Example response:
{
'stat':'ok',
'test_runs': [
{
'id':98,
'build': {
'id':23,
'build_id':'2007072704',
'changeset':'572a00c0e251',
}
}
]
}
- /testrun/get/testRunId - returns test run results for a specific test_run_id,