Skip to main content
ONTAP Automation

API reference

Contributors dmp-netapp

The API reference contains details about the ONTAP REST API calls, including the HTTP methods, input parameters, and responses. This complete reference is helpful when developing automation applications using the REST API.

Note You can access the REST API reference documentation at one of several sites based on the ONTAP release. A copy of the equivalent documentation is also available through the Swagger UI at your local ONTAP system.

Access the ONTAP API reference documentation online

You can access a copy of the ONTAP REST API reference documentation through the links provided below. The documentation is maintained by ONTAP release.

Access the ONTAP API reference documentation through the Swagger UI

You can access the ONTAP REST API documentation through the Swagger UI at your local ONTAP system.

Before you begin

You must have the following:

  • IP address or host name of the ONTAP cluster management LIF

  • User name and password for an account with authority to access the ONTAP REST API

Steps
  1. Type the URL in your browser and press Enter:

  2. Sign in using the ONTAP account.

    The ONTAP API documentation page is displayed with the API calls organized in major resource categories at the bottom.

  3. As an example of an individual API call, scroll down to the cluster category and click GET /cluster.