Fix NPE on service import
[sdc.git] / docs / offeredapis.rst
index 8a95607..b621725 100644 (file)
@@ -1,24 +1,19 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
+.. _offeredapis:
 
-============
-Offered APIs
-============
+================
+SDC Offered APIs
+================
 
-The list of APIs that SDC has offered could be find in the following table:
-
-.. |pdf-icon| image:: images/pdf.png
-              :width: 40px
-
-.. |swagger-icon| image:: images/swagger.png
-                   :width: 40px
-
-.. |html-icon| image:: images/html.png
-               :width: 40px
+The list of APIs that SDC offers can be found from the following table:
 
 .. csv-table::
-   :header: "|Swagger-icon|", "|html-icon|", "|pdf-icon|"
-   :widths: 60,60,60
+   :header: "API name", "OpenAPI JSON", "OpenAPI YAML"
+   :widths: 10,5,5
 
-   "swagger json file", "html doc", "pdf doc"
-   ":download:`link <swagger/swagger.json>`", ":download:`link <swagger/swagger.html>`", ":download:`link <swagger/swagger.pdf>`"
+   "SDCE-1", ":download:`link <openapi/openapi-sdce-1.json>`", ":download:`link <openapi/openapi-sdce-1.yaml>`"
+   "SDCE-2 & SDCE-5", ":download:`link <openapi/openapi-sdce-2-sdce-5.json>`", ":download:`link <openapi/openapi-sdce-2-sdce-5.yaml>`"
+   "SDCE-4", ":download:`link <openapi/openapi-sdce-4.json>`", ":download:`link <openapi/openapi-sdce-4.yaml>`"
+   "SDCE-6", ":download:`link <openapi/openapi-sdce-6.json>`", ":download:`link <openapi/openapi-sdce-6.yaml>`"
+   "SDCE-7", ":download:`link <openapi/openapi-sdce-7.json>`", ":download:`link <openapi/openapi-sdce-7.yaml>`"