From 508f094a372e1948141b7dafbba88617b3ac9bd9 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 26 Jun 2017 11:14:55 +0100 Subject: [PATCH] Add missing microversion documentation Part of blueprint placement-project-user Change-Id: I9d77649e7e02f0ace5546e42e04122162ec5661f --- .../placement/rest_api_version_history.rst | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nova/api/openstack/placement/rest_api_version_history.rst b/nova/api/openstack/placement/rest_api_version_history.rst index dfd5f9de6..81b0bb891 100644 --- a/nova/api/openstack/placement/rest_api_version_history.rst +++ b/nova/api/openstack/placement/rest_api_version_history.rst @@ -123,3 +123,24 @@ class is a custom resource class and does not already exist it will be created and a ``201`` response code returned. If the class already exists the response code will be ``204``. This makes it possible to check or create a resource class in one request. + +1.8 Require placement 'project_id', 'user_id' in PUT /allocations +----------------------------------------------------------------- + +The 1.8 version adds ``project_id`` and ``user_id`` required request parameters +to ``PUT /allocations``. + +1.9 Add GET /usages +-------------------- + +The 1.9 version adds usages that can be queried by a project or project/user. + +The following new routes are added: + +``GET /usages?project_id=`` + + Returns all usages for a given project. + +``GET /usages?project_id=&user_id=`` + + Returns all usages for a given project and user.