summaryrefslogtreecommitdiff
path: root/placement-api-ref/source/root.inc
blob: ab121a6aa56a50d02272145893b2865ce7670223 (plain)
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
========
Versions
========

List Versions
=============

.. rest_method:: GET /

Fetch information about all known major versions of the placement API,
including information about the minimum and maximum microversions.

.. note:: At this time there is only one major version of the placement API:
          version 1.0.

Normal Response Codes: 200

Response
--------

.. rest_parameters:: parameters.yaml

  - versions: versions
  - id: version_id
  - min_version: version_min
  - max_version: version_max
  - status: version_status
  - links: version_links

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

.. literalinclude:: get-root.json
   :language: javascript