{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft 365 Copilot (Microsoft Graph) Connectors User Content API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "User Content",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the signed-in user's profile (Copilot grounding context)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me"
          },
          "docs": "Get the signed-in user's profile (Copilot grounding context)"
        },
        {
          "info": {
            "name": "List the signed-in user's mail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/messages"
          },
          "docs": "List the signed-in user's mail"
        },
        {
          "info": {
            "name": "List the signed-in user's calendar events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/events"
          },
          "docs": "List the signed-in user's calendar events"
        },
        {
          "info": {
            "name": "List items in the user's OneDrive root",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/drive/root/children"
          },
          "docs": "List items in the user's OneDrive root"
        }
      ]
    }
  ],
  "bundled": true
}