blackducksoftware / hub-client-go

Hub Client for Go (golang)
Apache License 2.0
9 stars 19 forks source link

Add jobs #9

Closed mattfenwick closed 6 years ago

mattfenwick commented 6 years ago

Example URL:

https://<base_hub_url>/api/v1/jobs?limit=100&sortField=scheduledAt&ascending=false&offset=1200

But! Should the v1 portion be handled differently due to the Hub changing how it handles versioning?

mattfenwick commented 6 years ago

@robpacheco is this a public API that we can use, or does the v1 in the URL mean that we should be handling the version differently?

robpacheco commented 6 years ago

There currently is not a public API for jobs. Typically we don't use v1 APIs outside of internal Hub processing since there is no guarantee of stability with V1 APIs. Hub would need to add a public API before jobs APIs can be used outside of internal hub processing.