Community articleCalendars GET9.0.1
Added by api wiki on August 22, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Gets a list of calendars for the authenticated Domino user.

 

Method URI Description
GET /api/calendar Gets a list of calendars for the authenticated Domino user.
Output
Content Type: application/json
Use the table below that represents the returned fields:
Name Type Optional Description
owner
object No An object representing the owner of the calendar. The owner is usually the authenticated user of the request.
links
object No An array of URLs for reading events and invitations.
Code Description
200
OK. Indicates that the request was handled successfully.
401
Unauthorized. Returned when the request doesn't include an authorization or the authenticated user
doesn't have access to resource
Examples
GET /api/calendar

Response returned by the server
{
  "calendars":[
    {
      "owner":{
        "displayName":"Samantha Daryn",
        "distinguishedName":"Samantha Daryn/Peaks",
        "homeServer":"xyz.com",
        "email":"SamanthaDaryn@xyz.com"
      },
      "links":[
        {
          "rel":"events",
          "href":"/mail/sdayrn.nsf/api/calendar/events"
        },
        {
          "rel":"invitations",
          "href":"/mail/sdayrn.nsf/api/calendar/invitations"
        }
      ]
    }
  ]
}