Chapter 2. Getting Started

This section is intended to help users get started on using the API. It assumes that the MidoNet Management REST API host is known. This host is represented as in this document. The following GET request to the base URL of the API reveals the locations of the available resources :

Accept: application/

The request above may yield the following output :

HTTP/1.1 200 OK
Content-Type: application/
  "qosBwLimitRuleTemplate": "{id}",
  "qosDscpRuleTemplate": "{id}",
  "qosPolicies": ""
  "qosPolicyTemplate": "{id}",

This reveals that users can access the router resources using the URI /routers. Host resources are accessible with the URI /hosts. The response also includes information about the API version. The URIs with {id} in them are uri-templates, and they are explained later in this document.

Questions? Discuss on Mailing Lists or Chat.
Found an error? Report a bug.