aboutsummaryrefslogtreecommitdiffstats
path: root/docs/index.rst
diff options
context:
space:
mode:
authorSébastien Determe <sd378r@intl.att.com>2018-05-23 15:52:30 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-23 15:52:30 +0000
commit2206cf470405b527b5d666cf657f011eac6e0b80 (patch)
tree6a8d2391edcc5092b5047151d540da4a43edfae7 /docs/index.rst
parent090d9eadb13e5833bd179ede05d9b158e524ae54 (diff)
parent2aad6d681dcbea5564425648375f7ddca2080940 (diff)
Merge "Generate API documents"
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst24
1 files changed, 13 insertions, 11 deletions
diff --git a/docs/index.rst b/docs/index.rst
index a83c5d4ce..424b3d23c 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -11,21 +11,23 @@ CLAMP - Closed Loop Automation Management Platform
Offered APIs
------------
-CLAMP offers the following API:
-* HealthCheck
+The list of APIs that CLAMP has offered could be find in the following table:
-.. line-block::
+.. |pdf-icon| image:: images/pdf.png
+ :width: 40px
- URL: http://<host>:8080/restservices/clds/v1/clds/healthcheck
- Result: if in good health it will return OK: "HTTP/1.1 200", and the following json string content:
+.. |swagger-icon| image:: images/swagger.png
+ :width: 40px
-.. code-block:: json
+.. |html-icon| image:: images/html.png
+ :width: 40px
- {
- "healthCheckComponent": "CLDS-APP",
- "healthCheckStatus": "UP",
- "description": "OK"
- }
+.. csv-table::
+ :header: "|Swagger-icon|", "|html-icon|", "|pdf-icon|"
+ :widths: 60,60,60
+
+ "swagger json file", "html doc", "pdf doc"
+ ":download:`link <swagger/swagger.json>`", ":download:`link <swagger/swagger.html>`", ":download:`link <swagger/swagger.pdf>`"
Consumed APIs