summaryrefslogtreecommitdiffstats
path: root/docs/consumedapis.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/consumedapis.rst')
-rw-r--r--docs/consumedapis.rst48
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/consumedapis.rst b/docs/consumedapis.rst
new file mode 100644
index 0000000..2efd1d6
--- /dev/null
+++ b/docs/consumedapis.rst
@@ -0,0 +1,48 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+=============
+Consumed APIs
+=============
+
+SDC
+---
+Etsicatalog invokes SDC APIs to query/fetch package from SDC catalog.
+
+.. list-table::
+ :widths: 50 10 40
+ :header-rows: 1
+
+ * - URL
+ - Method
+ - Description
+ * - /api/sdc/v1/catalog/services/
+ - GET
+ - Get service list
+ * - /api/sdc/v1/catalog/services/{{csarId}}/metadata
+ - GET
+ - Get a service metadata
+ * - /api/sdc/v1/catalog/resources
+ - GET
+ - Get resource list
+ * - /api/sdc/v1/catalog/resources/{{csarId}}/metadata
+ - GET
+ - Get a resource metadata
+ * - /api/sdc/v1/catalog/services/{{csarId}}/toscaModel
+ - GET
+ - Download a service package
+
+Micro Service Bus
+-----------------
+Etsicatalog invokes Micro Service Bus APIs to register service to MSB.
+
+.. list-table::
+ :widths: 50 10 40
+ :header-rows: 1
+
+ * - URL
+ - Method
+ - Description
+ * - /api/microservices/v1/services
+ - POST
+ - Register service to the Microservice Bus \ No newline at end of file