go-circleci icon indicating copy to clipboard operation
go-circleci copied to clipboard

Made generic request function public

Open xavi- opened this issue 7 years ago • 1 comments

CircleCI has a number of undocumented APIs. A generic Request method is the easiest way to make them all accessible.

xavi- avatar Apr 27 '17 19:04 xavi-

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.

jszwedko avatar Jun 11 '17 23:06 jszwedko