List user's subscriptions in an organization he is member of #24538
-
Hi, I’d like to list the organisation subscriptions I am a member of and change their notification settings programmatically.
Returns only my subscriptions and not my organisation’s. I was not able to find anything in the API documentation on how to achieve what I need. My goal is to list subscriptions and to change the notification setting from “watching” to “releases only”. Thanks for any help. r |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
biro70:
👋 Hey @biro70! That’s interesting behavior to report. Would you mind also sharing the response that you get for that request? When I run that request for your account, I’m able to see a subscription to an organization-owned repositories:
Similarly, I’m able to see subscriptions for my user account for both user-owned and organization-owned repositories:
I’d like to mention that this endpoint doesn’t have any documented input, so If you’re interested in fetching subscriptions for both public and private repositories, it may be worth trying the endpoint for fetching a list of repositories watched by the authenticated user. |
Beta Was this translation helpful? Give feedback.
-
Hi @francisfuzz. Thank you for your reply. Thanks! |
Beta Was this translation helpful? Give feedback.
👋 Hey @biro70! That’s interesting behavior to report. Would you mind also sharing the response that you get for that request?
When I run that request for your account, I’m able to see a subscription to an organization-owned repositories: