{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure Cognitive Services Accounts Teams API",
    "version": "3.2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Ocp-Apim-Subscription-Key",
      "value": "{{Ocp-Apim-Subscription-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Teams",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.api.cognitive.microsoft.com/teams",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return (page size)"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response"
              }
            ]
          },
          "docs": "List all teams in an organization."
        },
        {
          "info": {
            "name": "Microsoft Create a team",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.api.cognitive.microsoft.com/teams",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new team."
        },
        {
          "info": {
            "name": "Microsoft Get team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:team-id",
            "params": [
              {
                "name": "team-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the team"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response"
              }
            ]
          },
          "docs": "Retrieve the properties and relationships of the specified team."
        },
        {
          "info": {
            "name": "Microsoft Update team",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:team-id",
            "params": [
              {
                "name": "team-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the team"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of the specified team."
        },
        {
          "info": {
            "name": "Microsoft Delete team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:team-id",
            "params": [
              {
                "name": "team-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the team"
              }
            ]
          },
          "docs": "Delete a team. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days."
        },
        {
          "info": {
            "name": "Microsoft List channels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:team-id/channels",
            "params": [
              {
                "name": "team-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the team"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return (page size)"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response"
              }
            ]
          },
          "docs": "Retrieve the list of channels in this team."
        },
        {
          "info": {
            "name": "Microsoft Create channel",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:team-id/channels",
            "params": [
              {
                "name": "team-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the team"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new channel in a team as specified in the request body."
        },
        {
          "info": {
            "name": "Microsoft List channel messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:team-id/channels/:channel-id/messages",
            "params": [
              {
                "name": "team-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the team"
              },
              {
                "name": "channel-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the channel"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return (page size)"
              }
            ]
          },
          "docs": "Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API."
        },
        {
          "info": {
            "name": "Microsoft Send channel message",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:team-id/channels/:channel-id/messages",
            "params": [
              {
                "name": "team-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the team"
              },
              {
                "name": "channel-id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the channel"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send a new chatMessage in the specified channel."
        },
        {
          "info": {
            "name": "Microsoft Get a team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:teamId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "Team unique identifier"
              }
            ]
          },
          "docs": "Retrieve the properties and relationships of the specified team."
        },
        {
          "info": {
            "name": "Microsoft Update a team",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:teamId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "Team unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a team."
        },
        {
          "info": {
            "name": "Microsoft Delete a team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{region}.api.cognitive.microsoft.com/teams/:teamId",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "path",
                "description": "Team unique identifier"
              }
            ]
          },
          "docs": "Delete a team and its associated group."
        }
      ]
    }
  ],
  "bundled": true
}