Closed Bug 1196191 Opened 9 years ago Closed 7 years ago

[Meta] Make it easier to start submitting data to Treeherder's API

Categories

(Tree Management :: Treeherder: API, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: meta)

The initial focus for Treeherder was to reach feature parity with TBPL, in order that TBPL could be EOLed. During that time fixing a number of API papercuts was deferred, since third-party result submissions were not supported by TBPL and as such did not block switching TBPL off.

Since then we've fixed a few issues (and improved the Python client, added API versioning etc), but many of these papercuts still exist, and make for a frustrating experience when people first start submitting to our API.

I believe there are a few quick wins that would help considerably, eg:
* Improved documentation
* json schema validation, along with decent error messages returned by the API (as opposed to just dropping things on the floor when fields are missing)

To the people CCed - if there's something that would have made getting set up with submitting to our API easier - please file a bug/let us know :-)
Depends on: 1191276
Depends on: 1066346
Submitting jobs/pushes via the API is now discouraged in favour of using Pulse (bug 1349182), so we're wontfixing API-specific issues.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.