summaryrefslogtreecommitdiff
path: root/api-ref/source/storage_info.inc
blob: 0487210b3db7bce5bbfa02b2397fff5274ad7b5c (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
.. -*- rst -*-

===============
Discoverability
===============

If configured, lists the activated capabilities for this version of
the OpenStack Object Storage API.


List activated capabilities
===========================

.. rest_method::  GET /info

Lists the activated capabilities for this version of the OpenStack Object Storage API.

Most of the information is "public" i.e. visible to all callers. However, some
configuration and capability items are reserved for the administrators of the
system. To access this data, the ``swiftinfo_sig`` and ``swiftinfo_expires``
query parameters must be added to the request.


Normal response codes: 200
Error response codes:


Request
-------

.. rest_parameters:: parameters.yaml

   - swiftinfo_sig: swiftinfo_sig
   - swiftinfo_expires: swiftinfo_expires




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

.. literalinclude:: samples/capabilities-list-response.json
   :language: javascript