OpenStack API Documentation

OpenStack API Documentation

Use the OpenStack APIs to launch server instances, create images, assign metadata to instances and images, create storage containers and objects, and complete other actions in your OpenStack cloud.

Current API versions

Application Catalog API v1

Application Container Service API (microversions)

Backup API v1

Bare Metal API v1 (microversions)

Block Storage API v3 (microversions)

Note

The Block Storage API v3 is functionally identical to the Block Storage API v2. Subsequent API v3 microversions, such as v3.1, differ from API v2.

Clustering API v1

Compute API (microversions)

Container Infrastructure Management API (microversions)

Data Processing v1.1

Data Protection Orchestration v1

Database Service API v1.0

Domain Name Server (DNS) API v2

EC2 API Service

Identity API v3

Identity API v3 extensions

Image service API v2

Load Balancer API v2

Messaging API v2

Networking API v2.0

NFV Orchestration API v1.0

Object Storage API v1

Orchestration API v1

Placement API (microversions)

Search API v1

Shared File Systems API v2 (microversions)

Note

The Shared File Systems API v1 is functionally identical to the Shared File Systems API v2. Subsequent API v2 microversions, such as v2.1, differ from API v1.

Supported API versions

Deprecated API versions

Block Storage API v2

Note

The Block Storage API v3 is functionally identical to the Block Storage API v2. Subsequent API v3 microversions, such as v3.1, differ from API v2.

Identity API v2.0

Identity admin API v2.0

Identity API v2.0 extensions

Image service API v1

The API status reflects the state of the endpoint on the service.

  • Current indicates a stable version that is up-to-date, recent, and might receive future versions. This endpoint should be prioritized over all others.
  • Supported is a stable version that is available on the server. However, it is not likely the most recent available and might not be updated or might be deprecated at some time in the future.
  • Deprecated is a stable version that is still available but is being deprecated and might be removed in the future.
  • Experimental is not a stable version. This version is under development or contains features that are otherwise subject to change. For more information about API status values and version information, see Version Discovery.
  • Microversions indicates that the API follows a pattern established by the Compute service to enable small, documented changes to the API on a resource-by-resource basis.

API quick-start examples

With the TryStack OpenStack installation, these services work together in the background of the installation, and many of these examples work on TryStack.

After you authenticate through Identity, you can use the other OpenStack APIs to create and manage resources in your OpenStack cloud. You can launch instances from images and assign metadata to instances through the Compute API or the openstack command-line client.

To begin sending API requests, use one of the following methods:

  • cURL

    A command-line tool that lets you send HTTP requests and receive responses. See the section called OpenStack APIs.

  • OpenStack command-line client

    The OpenStack project provides a command-line client that enables you to access APIs through easy-to-use commands. See the section called OpenStack command-line clients.

  • REST clients

    Both Mozilla and Google provide browser-based graphical interfaces for REST. For Firefox, see RESTClient. For Chrome, see rest-client.

  • OpenStack Python Software Development Kit (SDK)

    Use this SDK to write Python automation scripts that create and manage resources in your OpenStack cloud. The SDK implements Python bindings to the OpenStack API, which enables you to perform automation tasks in Python by making calls on Python objects rather than making REST calls directly. All OpenStack command-line tools are implemented by using the Python SDK. See OpenStack Python SDK in the OpenStack End User Guide.

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.
{"cc_re__cc_re__cc_by_3_0": [": OpenStack APIs\"></i></a>\n          \n            <a id=\"logABugLink3\" href=\"\" target=\"_blank\" title=\"Found an error? Report a bug against this page\"><i class=\"fa fa-bug\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Report a Bug\"></i></a>\n          \n          </div>\n          <div class=\"row docs-byline bottom\">\n            <div class=\"docs-updated\">updated: 2018-02-17 08:30</div>\n          </div>\n          <div class=\"row\">\n            <div class=\"col-lg-8 col-md-8 col-sm-8 docs-license\">\n<a href=\"https://creativecommons.org/licenses/by/3.0/\">\n <img src=\"_static/images/docs/license.png\" alt=\"Creative Commons Attribution 3.0 License\"/>\n</a>\n<p>\n Except where otherwise noted, this document is licensed under\n <a href=\"https://creativecommons.org/licenses/by/3.0/\">Creative Commons\n Attribution 3.0 License</a>. See all <a href=\"http://www.openstack.org/legal\">\n OpenStack Legal Documents</a>.\n</p>\n            </div>\n            <div class=\"col-lg-4 col-md-4 col-sm-4 docs-actions-wrapper\">\n            <!-- ID buglinkbottom added so that pre", "eport a Bug\"></i></a>\n          \n          </div>\n          <div class=\"row docs-byline bottom\">\n            <div class=\"docs-updated\">updated: 2018-02-17 08:30</div>\n          </div>\n          <div class=\"row\">\n            <div class=\"col-lg-8 col-md-8 col-sm-8 docs-license\">\n<a href=\"https://creativecommons.org/licenses/by/3.0/\">\n <img src=\"_static/images/docs/license.png\" alt=\"Creative Commons Attribution 3.0 License\"/>\n</a>\n<p>\n Except where otherwise noted, this document is licensed under\n <a href=\"https://creativecommons.org/licenses/by/3.0/\">Creative Commons\n Attribution 3.0 License</a>. See all <a href=\"http://www.openstack.org/legal\">\n OpenStack Legal Documents</a>.\n</p>\n            </div>\n            <div class=\"col-lg-4 col-md-4 col-sm-4 docs-actions-wrapper\">\n            <!-- ID buglinkbottom added so that pre-filled doc bugs\n                 are sent to Launchpad projects related to the\n                 document -->\n              <a href=\"#\" id=\"logABugLink2\" class=\"docs-footer-actions\"><i class=\"fa fa-bug\"></i> found an error"]}