Add GraphQL API mutation to manage profile pinned repositories #184845
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request
Currently, there's no GraphQL API mutation to programmatically update pinned repositories on a user profile. The API provides:
pinnedItems- query current pinspinnableItems- list items that can be pinnedviewerCanChangePinnedItems- check permissionspinnedItemsRemaining- check available slotsBut there's no
updatePinnedItemsor similar mutation to actually modify the pins.Use case
I'd like to pin the original repositories I contribute to rather than my forks. Currently, this requires manual UI interaction through "Customize your pins."
This would also enable:
Proposed solution
Add a mutation like:
This would complement the existing read-only queries and make the profile pinning feature fully accessible via the API.
Beta Was this translation helpful? Give feedback.
All reactions