{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Graph Admin Admin.admin Chats.chat API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Chats.chat",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Graph List chats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/chats",
            "params": [
              {
                "name": "$top",
                "value": "50",
                "type": "query",
                "description": "Show only the first n items"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Skip the first n items"
              },
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order items by property values"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to."
        },
        {
          "info": {
            "name": "Microsoft Graph Create chat",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/chats",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new chat object."
        },
        {
          "info": {
            "name": "Microsoft Graph Get chat",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/chats/:chat-id",
            "params": [
              {
                "name": "chat-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of chat"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Select properties to be returned"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand related entities"
              }
            ]
          },
          "docs": "Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from."
        },
        {
          "info": {
            "name": "Microsoft Graph Update chat",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/chats/:chat-id",
            "params": [
              {
                "name": "chat-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of chat"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a chat object."
        },
        {
          "info": {
            "name": "Microsoft Graph Delete chat",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/chats/:chat-id",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "chat-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of chat"
              }
            ]
          },
          "docs": "Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins."
        },
        {
          "info": {
            "name": "Microsoft Graph Get the number of the resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/chats/$count",
            "params": [
              {
                "name": "$search",
                "value": "",
                "type": "query",
                "description": "Search items by search phrases"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "Filter items by property values"
              }
            ]
          },
          "docs": "Microsoft Graph Get the number of the resource"
        }
      ]
    }
  ],
  "bundled": true
}