Help needed with go-github implementation for listing fine grained personal access tokens

Hello Team,

I need help with one of the GitHub APIs (/orgs/{org}/personal-access-tokens) to list fine-grained personal access tokens. You can find the documentation for it here: List fine-grained personal access tokens with access to organization resources.

I am not able to find the implementation in the go-github code.

Any help would be really appreciated. It would be great if someone would assist me.

Hi @rich-lion,

Is this the same feature request as #17092?
If so, we can open that issue.

The Go SDK doesn’t support it, but they might accept a contribution, or we can use a direct HTTP call.

@erez No.
The problem which I am pointing out is that the Go SDK itself is missing the API for personal-access-tokens.

@rich-lion - Unfortunately, the lack of support for that in the Go SDK is also a blocker for us as well. If you find a solution, please let us know!

@rich-lion You could open a feature request for the Go SDK to add the missing API.

@erez Sure, I will do.

@erez GitHub Issue #3213