File: quota_details.inc

package info (click to toggle)
python-neutron-lib 3.18.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,652 kB
  • sloc: python: 22,800; sh: 145; makefile: 24
file content (43 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.. -*- rst -*-

========================================
Quotas details extension (quota_details)
========================================

Extends the ``quotas`` API to show a quota set for each project that includes
the quota's used, limit and reserved counts per resource.

A quota value of ``-1`` means that quota has no limit.

Show quota details for a tenant
===============================

.. rest_method::  GET /v2.0/quotas/{project_id}/details.json

Shows quota details for a project.

.. include:: filtering-show.inc

Normal response codes: 200

Error response codes: 401, 403

Request
-------

.. rest_parameters:: parameters.yaml

   - project_id: project_id-path

Response Parameters
-------------------

.. rest_parameters:: parameters.yaml

   - quota: quota-detail

Response Example
----------------

.. literalinclude:: samples/quota_details/quota-details-show-for-project-response.json
   :language: javascript