{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apigee API Hub Analytics Developer App Keys 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": "Developer App Keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Apigee List Developer App Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/developers/:developerId/apps/:appId/keys",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "developerId",
                "value": "",
                "type": "path",
                "description": "Email address or ID of the developer."
              },
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "Name of the developer app."
              }
            ]
          },
          "docs": "Returns a list of all API keys for a developer app, including consumer keys and secrets."
        },
        {
          "info": {
            "name": "Apigee Create a Developer App Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/developers/:developerId/apps/:appId/keys",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "developerId",
                "value": "",
                "type": "path",
                "description": "Email address or ID of the developer."
              },
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "Name of the developer app."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a custom consumer key and secret for a developer app. Useful when migrating existing consumer keys and secrets to Apigee."
        },
        {
          "info": {
            "name": "Apigee Get a Developer App Key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/developers/:developerId/apps/:appId/keys/:keyId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "developerId",
                "value": "",
                "type": "path",
                "description": "Email address or ID of the developer."
              },
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "Name of the developer app."
              },
              {
                "name": "keyId",
                "value": "",
                "type": "path",
                "description": "Consumer key of the developer app."
              }
            ]
          },
          "docs": "Returns details for a consumer key for a developer app, including the key, its status, and the associated API products."
        },
        {
          "info": {
            "name": "Apigee Update a Developer App Key",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/developers/:developerId/apps/:appId/keys/:keyId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "developerId",
                "value": "",
                "type": "path",
                "description": "Email address or ID of the developer."
              },
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "Name of the developer app."
              },
              {
                "name": "keyId",
                "value": "",
                "type": "path",
                "description": "Consumer key of the developer app."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds an API product to a developer app key, enabling the app to access the API resources bundled in the API product."
        },
        {
          "info": {
            "name": "Apigee Delete a Developer App Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://apihub.googleapis.com/v1/organizations/:organizationId/developers/:developerId/apps/:appId/keys/:keyId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Name of the Apigee organization."
              },
              {
                "name": "developerId",
                "value": "",
                "type": "path",
                "description": "Email address or ID of the developer."
              },
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "Name of the developer app."
              },
              {
                "name": "keyId",
                "value": "",
                "type": "path",
                "description": "Consumer key of the developer app."
              }
            ]
          },
          "docs": "Deletes an app's consumer key. After the consumer key is deleted, it cannot be used to access any APIs."
        }
      ]
    }
  ],
  "bundled": true
}