Perfomatic:API: Difference between revisions

Jump to navigation Jump to search
Line 39: Line 39:
     ]
     ]
  }
  }
* '''/api/test/'''''testId&'''''buildid='''buildid'''&osid='''osid''''' - returns information for a specific testId and branch and os
* '''/api/test/?testId=''testid''&buildid=''buildid''&osid=''osid''''' - returns information for a specific testId and branch and os
** Example response:
** Example response:
  {
  {
    'stat':'ok',
    'id':23,
    'test': {
    'name':'Ts',
        'id':123,
    'branch':
        'name':'Tp3',
    {
        'branch':'1.9',
        'name':'1.9',
        'os':'WinXP',
        'id':3
        'machine':'qm-pxp03-cycles-20'
    }
    }
    'os':
    {
        'name':'Vista',
        'id':3
    }
    'machine':'qm-pxp03-cycles-20',
  }
  }
                  
                  
* '''/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
975

edits

Navigation menu