summaryrefslogtreecommitdiff
path: root/api-ref/source/api-versions.inc
blob: a795bf91b2f6b142a220161c7fba847948dc8aa1 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.. -*- rst -*-

============
API versions
============

Lists information for all Database Service API versions and shows
Database Service v1.0 details.


List versions
~~~~~~~~~~~~~

.. rest_method::  GET /

Lists information about all Database Service API versions.

Normal response codes: 200

Error response codes: badRequest(400), unauthorized(401), forbidden(403),
itemNotFound(404), badMethod(405), overLimit(413), unprocessableEntity(422),
instanceFault(500), notImplemented(501), serviceUnavailable(503)


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

.. literalinclude:: samples/db-versions-response.json
   :language: javascript




Show version details
~~~~~~~~~~~~~~~~~~~~

.. rest_method::  GET /v1.0

Shows details for the Database Service API v1.0.

Normal response codes: 200

Error response codes: badRequest(400), unauthorized(401), forbidden(403),
itemNotFound(404), badMethod(405), overLimit(413), unprocessableEntity(422),
instanceFault(500), notImplemented(501), serviceUnavailable(503)


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

.. literalinclude:: samples/db-version-response.json
   :language: javascript