{
  "opencollection": "1.0.0",
  "info": {
    "name": "Rockwell FactoryTalk Optix REST Alarms Recipes API",
    "version": "1.5.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://optix.example.com/auth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Recipes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Recipes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/recipes"
          },
          "docs": "Returns recipes defined in the FactoryTalk Optix project."
        },
        {
          "info": {
            "name": "Apply a Recipe",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/v1/recipes/:recipeName/apply",
            "params": [
              {
                "name": "recipeName",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Applies a recipe to a machine or unit, writing configured tag values."
        }
      ]
    }
  ],
  "bundled": true
}