Perfomatic:API: Difference between revisions

Jump to navigation Jump to search
Line 2: Line 2:


===Documented endpoints===
===Documented endpoints===
* '''/api/test''' - returns list of all tests
* '''/api/test''' - returns list of all tests per os per build
** Example response:
** Example response:
  {
  {
Line 10: Line 10:
                 'id':123,
                 'id':123,
                 'name':'Tp3',
                 'name':'Tp3',
                 'branch':'1.9',
                 'branch':
                 'os':'WinXP',
                {
                    'name':'1.9',
                    'id':3
                }
                 'os':
                {
                    'name':'WinXP',
                    'id':2
                }
                 'machine':'qm-pxp03-cycles-5',
                 'machine':'qm-pxp03-cycles-5',
             },
             },
Line 17: Line 25:
                 'id':23,
                 'id':23,
                 'name':'Ts',
                 'name':'Ts',
                 'branch:'1.8',
                 'branch':
                 'os':'Vista'
                {
                    'name':'1.9',
                    'id':3
                }
                 'os':
                {
                    'name':'Vista',
                    'id':3
                }
                 'machine':'qm-pxp03-cycles-20',
                 'machine':'qm-pxp03-cycles-20',
             }
             }
     ]
     ]
  }
  }
* '''/api/test/'''''testId'' - returns information for a specific testId
* '''/api/test/'''''testId&'''''buildid='''buildid'''&osid='''osid''''' - returns information for a specific testId and branch and os
** Example response:
** Example response:
  {
  {
975

edits

Navigation menu