{
  "opencollection": "1.0.0",
  "info": {
    "name": "RingCentral Adaptive Cards Calendar Events API",
    "version": "1.0.58-20240529-47eda8bd"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://platform.ringcentral.com/restapi/oauth/authorize",
      "accessTokenUrl": "https://platform.ringcentral.com/restapi/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Calendar Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List User Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/team-messaging/v1/events",
            "params": [
              {
                "name": "recordCount",
                "value": "",
                "type": "query",
                "description": "Number of groups to be fetched by one request. The maximum value is 250, by default - 30."
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query",
                "description": "Token of a page to be returned"
              }
            ]
          },
          "docs": "Returns all calendar events created by the current user."
        },
        {
          "info": {
            "name": "Create Event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.ringcentral.com/team-messaging/v1/events",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new calendar event."
        },
        {
          "info": {
            "name": "Get Event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/team-messaging/v1/events/:eventId",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path",
                "description": "Event id or comma separated list of event ids."
              }
            ]
          },
          "docs": "Returns the specified calendar event(s) by ID(s)."
        },
        {
          "info": {
            "name": "Update Event",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.ringcentral.com/team-messaging/v1/events/:eventId",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an event"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the specified calendar event."
        },
        {
          "info": {
            "name": "Delete Event",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.ringcentral.com/team-messaging/v1/events/:eventId",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of an event to be deleted"
              }
            ]
          },
          "docs": "Deletes the specified calendar event."
        },
        {
          "info": {
            "name": "List Group Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.ringcentral.com/team-messaging/v1/groups/:groupId/events",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a group"
              }
            ]
          },
          "docs": "Returns a list of calendar events available for the current user within the specified group. Users can only see their personal tasks and public tasks."
        },
        {
          "info": {
            "name": "Create Event by Group ID",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.ringcentral.com/team-messaging/v1/groups/:groupId/events",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "Internal identifier of a group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new calendar event within the specified group."
        }
      ]
    }
  ],
  "bundled": true
}