go-circleci
go-circleci copied to clipboard
Made generic request function public
CircleCI has a number of undocumented APIs. A generic Request
method is the easiest way to make them all accessible.
Indeed, I have noticed that as well, but I hesitate a bit to make the request
func public as it isn't the most pleasant interface and I would want to:
- Make sure no further changes to its interface can be anticipated
- Tests for the method itself are added
- Documentation for the method is added
The alternative is that we encode the undocumented APIs as their own methods as they are discovered.