I see there is an invitation endpoint but I don't see any way to programmatically accept an invitation to collaborate on a repository. In the past, Bitbucket would just automatically let you see a repository if someone invited you to collaborate on it. But now, you must accept the collaboration invitation first before you can view the repository and perform any action. Is there a way to programmatically find the invitation and accept it rather than waiting for the email and going to the provided link?
Community moderators have prevented the ability to post new answers.