blob: d0d4b87f8c04e8da315d5d90a8e0f9a3c7326aaa [file] [log] [blame]
shivasubedi3d1579c2021-09-13 16:43:20 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2021 Nordix Foundation
4
5.. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
6.. _design:
7
8
DylanB95EST7f1fa6d2021-10-11 16:33:29 +01009DMI-Plugin Design
shivasubedi3d1579c2021-09-13 16:43:20 +010010#################
11
shivasubedi3d1579c2021-09-13 16:43:20 +010012.. toctree::
13 :maxdepth: 1
14
15Offered APIs
16============
17
DylanB95EST7f1fa6d2021-10-11 16:33:29 +010018The DMI-Plugin supports the public APIs listed in the link below:
shivasubedi3d1579c2021-09-13 16:43:20 +010019
lukegleeson78d59222021-10-01 17:21:48 +010020:download:`DMI Rest OpenApi Specification <openapi/openapi.yaml>`
shivasubedi3d1579c2021-09-13 16:43:20 +010021
lukegleeson78d59222021-10-01 17:21:48 +010022View Offered APIs
23-----------------
shivasubedi3d1579c2021-09-13 16:43:20 +010024
25The standard for API definition in the RESTful API world is the OpenAPI Specification (OAS).
26The OAS 3, which is based on the original "Swagger Specification", is being widely used in API developments.
27
28Specification can be accessed using following URI:
29
30.. code-block:: bash
31
lukegleeson78d59222021-10-01 17:21:48 +010032 http://<hostname>:<port>/v3/api-docs?group=dmi-plugin-docket
shivasubedi3d1579c2021-09-13 16:43:20 +010033
lukegleeson78d59222021-10-01 17:21:48 +010034Additionally, the Swagger User Interface can be found at the following URI. The component may be changed between CPS-Core
35and CPS-NCMP using the drop down table in the top right:
shivasubedi3d1579c2021-09-13 16:43:20 +010036
lukegleeson78d59222021-10-01 17:21:48 +010037.. code-block:: bash
38
39 http://<hostname>:<port>/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config#/
40
41Consumed APIs
42=============
43
44- SDNC: REST based interface exposed by the SDNC client. This is used to retrieve the yang resources and modules for CPS.