Get Started
Portal api methods
Help

GET api/2.0/calendar/sharing This function requires authentication

Description

Returns the default values for the sharing access parameters

Parameters

This method doesn't have any parameters

Example
GET api/2.0/calendar/sharing
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Default sharing access parameters

Example Response

application/json

{
  "status": 0,
  "response": {
    "actions": [
      {
        "id": "read",
        "name": "Read only",
        "defaultAction": true
      }
    ],
    "items": [
      {
        "selectedAction": {
          "id": "read",
          "name": "Read only",
          "defaultAction": true
        },
        "canEdit": true,
        "isGroup": true,
        "name": "Everyone",
        "id": "2fdfe577-3c26-4736-9df9-b5a683bb8520"
      }
    ]
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <actions>
      <id>read</id>
      <name>Read only</name>
      <defaultAction>true</defaultAction>
    </actions>
    <items>
      <selectedAction>
        <id>read</id>
        <name>Read only</name>
        <defaultAction>true</defaultAction>
      </selectedAction>
      <canEdit>true</canEdit>
      <isGroup>true</isGroup>
      <name>Everyone</name>
      <id>2fdfe577-3c26-4736-9df9-b5a683bb8520</id>
    </items>
  </response>
</result>