update link to upper-constraints.txt
[modeling/etsicatalog.git] / docs / consumedapis.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 =============
5 Consumed APIs
6 =============
7
8 SDC
9 ---
10 Etsicatalog invokes SDC APIs to query/fetch package from SDC catalog.
11
12 .. list-table::
13    :widths: 50 10 40
14    :header-rows: 1
15
16    * - URL
17      - Method
18      - Description
19    * - /api/sdc/v1/catalog/services/
20      - GET
21      - Get service list
22    * - /api/sdc/v1/catalog/services/{{csarId}}/metadata
23      - GET
24      - Get a service metadata
25    * - /api/sdc/v1/catalog/resources
26      - GET
27      - Get resource list
28    * - /api/sdc/v1/catalog/resources/{{csarId}}/metadata
29      - GET
30      - Get a resource metadata
31    * - /api/sdc/v1/catalog/services/{{csarId}}/toscaModel
32      - GET
33      - Download a service package
34
35 Micro Service Bus
36 -----------------
37 Etsicatalog invokes Micro Service Bus APIs to register service to MSB.
38
39 .. list-table::
40    :widths: 50 10 40
41    :header-rows: 1
42
43    * - URL
44      - Method
45      - Description
46    * - /api/microservices/v1/services
47      - POST
48      - Register service to the Microservice Bus