{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apigee API Hub Analytics Environments API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
      "accessTokenUrl": "https://oauth2.googleapis.com/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Apigee List Environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/environments",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              }
            ]
          },
          "docs": "Lists all environments in an organization. Returns a list of environment names or expanded environment objects."
        },
        {
          "info": {
            "name": "Apigee Create an Environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/environments",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an environment in an organization. Environments provide a runtime execution context for API proxies, with separate settings for caches, target servers, keystores, and more."
        },
        {
          "info": {
            "name": "Apigee Get an Environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/environments/:environmentId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "environmentId",
                "value": "",
                "type": "path",
                "description": "Name of the environment."
              }
            ]
          },
          "docs": "Gets the profile for an environment in an organization, including properties, state, and deployment type."
        },
        {
          "info": {
            "name": "Apigee Update an Environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/environments/:environmentId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "environmentId",
                "value": "",
                "type": "path",
                "description": "Name of the environment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing environment. The full environment object must be included in the request body."
        },
        {
          "info": {
            "name": "Apigee Delete an Environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/environments/:environmentId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "environmentId",
                "value": "",
                "type": "path",
                "description": "Name of the environment."
              }
            ]
          },
          "docs": "Deletes an environment from an organization. Before deleting, all API proxies must be undeployed from the environment."
        }
      ]
    }
  ],
  "bundled": true
}