GitHub API: using 'repo' scope, but still can't see private repos

后端 未结 5 849
眼角桃花
眼角桃花 2020-12-15 05:32

Per the GitHub API docs, I am requesting the repo scope which gives access to private repositories.

The user is presented with the following dialog, which also ment

5条回答
  •  一个人的身影
    2020-12-15 05:49

    Screenshot

    https://api.github.com/user/repos?access_token=#################################
    

    this url gives all the public and private repositories, To get the token use this

    link https://github.com/settings/tokens

    Make sure you mark all the ticks given in the scope section

提交回复
热议问题