{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Outlook API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
      "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Mail",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/messages",
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get the messages in the signed-in user's mailbox."
        },
        {
          "info": {
            "name": "Microsoft Get a message",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/messages/:messageId",
            "params": [
              {
                "name": "messageId",
                "value": "",
                "type": "path",
                "description": "Message unique identifier"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve a specific message."
        },
        {
          "info": {
            "name": "Microsoft Update a message",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/me/messages/:messageId",
            "params": [
              {
                "name": "messageId",
                "value": "",
                "type": "path",
                "description": "Message unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a message."
        },
        {
          "info": {
            "name": "Microsoft Delete a message",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/me/messages/:messageId",
            "params": [
              {
                "name": "messageId",
                "value": "",
                "type": "path",
                "description": "Message unique identifier"
              }
            ]
          },
          "docs": "Delete a message and move it to the Deleted Items folder."
        },
        {
          "info": {
            "name": "Microsoft Send mail",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/me/sendMail",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send the message specified in the request body. The message is saved in the Sent Items folder by default."
        },
        {
          "info": {
            "name": "Microsoft List mail folders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/mailFolders",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get the mail folder collection under the root folder."
        }
      ]
    },
    {
      "info": {
        "name": "Calendar",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List calendar events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/events",
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get events from the user's default calendar."
        },
        {
          "info": {
            "name": "Microsoft Create a calendar event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/me/events",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an event in the user's default calendar."
        }
      ]
    },
    {
      "info": {
        "name": "Contacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List contacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/contacts",
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get contacts from the user's default contacts folder."
        },
        {
          "info": {
            "name": "Microsoft Create a contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/me/contacts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new contact in the user's default contacts folder."
        }
      ]
    }
  ],
  "bundled": true
}