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

Allow calling generic APIs

Open gprossliner opened this issue 3 years ago • 1 comments

There is a "callAPI" method: https://github.com/suzuki-shunsuke/go-graylog/blob/3e39cb0fde1cb00dac7a3bbd060d2c69d06eb91e/graylog/client/util.go#L32-L35

This is currently private. It would be nice if the User can call any APIs that are not implemented (yet), like /authz/shares. See #332.

I would suggest renaming callAPI to CallAPI to make it public, or provide a equivalent public method.

gprossliner avatar May 17 '21 09:05 gprossliner