Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru

Analyzing an Exported Apigee API Proxy

Before deploying your API proxy to production, you need to make sure that it is thoroughly reviewed and tested. Static code analysis is an important procedure you can run that helps to ensure your code is consistent and clean. This process is known as _linting_, and Apigee API proxies can take advantage of an open-source tool called apigeelint. In this hands-on lab, we'll take the preliminary steps necessary to run apigeelint, exporting our API proxy using the Apigee Edge Management APIs. Then, we'll install apigeelint and use it to validate our code, displaying the results in a table format.


Path Info

Clock icon Beginner
Clock icon 30m
Clock icon Oct 18, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Export the API Proxy

    1. On the Apigee dashboard page, click API Proxies.
    2. Click the link for the proxy you want to analyze.
    3. Review the name and revision number.
    4. In your browser, navigate to
    5. In the Apigee Management APIs navigation menu, select API Proxies > Export API Proxy.
    6. Scroll down the page to the Resource URL section.
    7. Complete the Resource URL by filling in the following elements:
    • Your organization name
    • Your API proxy name
    • Your proxy's revision number
    1. In the HTTP Basic box, click Set...
    2. In the Set Authentication dialog, enter your Apigee email and password.
    3. Click Save.
    4. Click Send this request.
    5. Select the cURL tab.
    6. Copy the generated cURL command to your clipboard.
    7. In your terminal, paste the copied cURL command, and add the following: -o ~/downloads/
  2. Challenge

    Install and Run apigeelint

    1. Change to your Downloads directory. cd ~/downloads
    2. Verify that the file is in the Downloads directory. ls
    3. Install apigeelint. sudo npm install -g apigeelint
    4. Enter your password at the prompt.
    5. Unzip the downloaded proxy. unzip
    6. Run apigeelint on the proxy folder. apigeelint -s apiproxy/ -f table.js
    7. Review the results.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans