File: versions.inc

package info (click to toggle)
glance 2%3A31.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,352 kB
  • sloc: python: 73,058; sh: 175; makefile: 111
file content (58 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (5)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.. -*- rst -*-

.. _versions-call:

API versions
************


List API versions
~~~~~~~~~~~~~~~~~

.. rest_method::  GET /versions

Lists information about all Image service API versions supported by this
deployment, including the URIs.


Normal response codes: 200


Request
-------

There are no request parameters.



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

.. literalinclude:: samples/image-versions-response.json
   :language: json


List API versions
~~~~~~~~~~~~~~~~~

.. rest_method::  GET /

Lists information about all Image service API versions supported by this
deployment, including the URIs.



Normal response codes: 300


Request
-------

There are no request parameters.


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

.. literalinclude:: samples/image-versions-response.json
   :language: json