975
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
The graph server API is a REST API with a JSON only response format. | The graph server API is a REST API with a JSON only response format. | ||
==Using getdata.cgi?== | |||
If you are, things are going to change. | If you are, things are going to change. | ||
| Line 10: | Line 10: | ||
For example, let's assume you want test results for Tp3 tests. Querying graphs.mozilla.org/api/test gives you a list of tests by build and OS. | For example, let's assume you want test results for Tp3 tests. Querying graphs.mozilla.org/api/test gives you a list of tests by build and OS. | ||
==Documented endpoints== | |||
* | |||
=== List tests === | |||
* http://graphs.mozilla.org/api/test | |||
* Returns list of all tests run per os per branch per machine. | |||
** Example response: | ** Example response: | ||
{ | { | ||
| Line 56: | Line 59: | ||
] | ] | ||
} | } | ||
* | === Get test === | ||
* http://graphs.mozilla.org/api/test?testId=TESTID&branchid=BRANCHID&machine=MACHINEID | |||
* Returns information for a specific testId and branch and os | |||
** Example response: | ** Example response: | ||
{ | { | ||
edits