Skip to content

Is there a way to get a users pins with the GitHub REST API? #24696

Closed Answered by byrneh
Kale-Ko asked this question in API and Webhooks
Discussion options

You must be logged in to vote

Hi @Kale-Ko

The GraphQL API usery query has field pinnedItems if its a list of repositories and gists this profile owner has pinned to their profile.

  <a href="https://docs.github.com/en/graphql/reference/objects#user" target="_blank" rel="noopener nofollow ugc">GitHub Docs</a>

Objects - GitHub Docs

Replies: 1 comment

Comment options

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