{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure Cognitive Services Accounts Translator API",
    "version": "3.2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Ocp-Apim-Subscription-Key",
      "value": "{{Ocp-Apim-Subscription-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Translator",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Translate text",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{region}.api.cognitive.microsoft.com/translate",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "Target language codes"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Source language code"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Translate text into one or more languages."
        },
        {
          "info": {
            "name": "Microsoft Get supported languages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{region}.api.cognitive.microsoft.com/languages",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query"
              },
              {
                "name": "scope",
                "value": "",
                "type": "query",
                "description": "Comma-separated group of language names"
              }
            ]
          },
          "docs": "Get the set of languages currently supported by the Translator."
        }
      ]
    }
  ],
  "bundled": true
}