Share API
Any calendar can be shared by the user to other people who want to view or access the calendar. You can share a calendar in many ways depending upon your requirements. If you have a personal calendar and want to share with a particular person, you can enter the user's email address and share it. Otherwise, if you want to share your calendar with everyone, you can make your calendar public so everybody can view it.
You can also edit the permissions by limiting it to only viewing the calendar or letting the other user add events or make changes to it. You can also get to access the calendars that the other users have shared with you. All such share details of the calendars will be available in this section.
The /share endpoint is used to make use of the "Share calendar" feature. The list of methods applied in the Share calendar feature are GET and PUT.
Methods:
GET - Get shared calendar details
Gets the calendar details of the calendar that has been shared with another user.
PUT - Share calendar
Shares the calendar with another user