Perfomatic:API: Difference between revisions

Jump to navigation Jump to search
Line 6: Line 6:
  {
  {
     'stat':'ok',
     'stat':'ok',
     'tests': [
     'test': [
             {
             {
                 'id':123,
                 'id':123,
Line 35: Line 35:
  }
  }
                  
                  
* '''/api/tests/runs/'''''testId'' - 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
** Example response:
** Example response:
  {
  {
Line 70: Line 70:
     ]
     ]
  }
  }
* '''/api/testruns/values/'''''testRunId'' - returns test run results for a specific testRunId
* '''/api/testrun/''testRunId''''' - 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
            }
        ]
    }
}
 
* '''/api/testrun/''testRunId''/values''' - returns test run results for a specific testRunId
** Example response
** Example response
  {
  {
975

edits

Navigation menu