Introduction

Introduction

#340000

The Densify API is the foundation for the next generation of capacity intelligence for your cloud infrastructure. The Densify API connects to your other infrastructure software components such as cloud stacks and provides rich capacity information and recommended optimization actions. With the Densify API, these systems become aware of the overall capacity and can make better automatic choices with a fully-informed model of the infrastructure.

The Densify API is a REST-based web service that is designed for the following:

RESTful API

The Densify API has been implemented as a RESTful web service. Requests and responses are built around the transfer of representations of resources.

The Densify RESTful web API is a web API implemented using HTTP. It is a collection of resources, with three defined aspects:

  • the base URI for the web API, such as http://localhost:8086/CIRBA/api/v2/.
  • the Internet media type of the data supported by the web API. The Densify API supports JSON.
  • the set of operations supported by the web API using HTTP methods (e.g. GET, PUT, POST, or DELETE).

The following table shows the HTTP methods that are used to implement the web API.

Table: RESTful Web API HTTP Methods

Resource

GET

PUT

POST

DELETE

Collection URI, such as http://localhost:8086/CIRBA/api/v2/<resource>/

List the URIs and perhaps other details of the collection's members.

Not used.

Create a new entry in the collection. The new entry's URI is assigned automatically and is usually returned by the operation.

Not used.

Element URI, such as http://localhost:8086/CIRBA/api/v2/<resource>/<item>

Retrieve a representation of the addressed member of the collection, expressed in an appropriate Internet media type.

Modify the addressed member.

Not generally used, but is used to modify attributes and multiple objects within a given collection.

Delete the addressed member of the collection.

 

Continue to the following topics: