Skip to content

Which API permissions are needed? #1092

Answered by lowlighter
ilovelinux asked this question in Q&A
Discussion options

You must be logged in to vote

Hi 👋 !

For personal access tokens (i.e. tokens used to fetch data), the revelant documentation is here:

A a general rule, the following scopes may be required:

  • public_repo for some plugins
  • read:org for all organizations related metrics
  • repo for all private repositories related metrics
    • read:user for some private repositories related metrics
  • read:packages for some packages related metrics
  • gist for publishing renders to gists instead of a repository

If you click on a plugin documentation in the plugin list, you'll be able to see a table that tell which scopes are required to make it work, like below:

In the example above, the personal access token should have read:user and read:org s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ilovelinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment