elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 |
| 2 | International License. |
| 3 | .. http://creativecommons.org/licenses/by/4.0 |
| 4 | .. Copyright 2020 Nordix Foundation |
Singal, Kapil (ks220y) | 535be96 | 2020-10-07 12:59:08 -0400 | [diff] [blame] | 5 | |
| 6 | .. _offered_apis: |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 7 | |
| 8 | |
| 9 | Offered APIs |
| 10 | ============ |
| 11 | |
| 12 | Introduction |
| 13 | ************ |
| 14 | |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 15 | The north bound REST API of the Policy Management Service provides convenient methods to handle policies. |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 16 | |
| 17 | |
PatrikBuhr | 66cf324 | 2021-03-08 12:33:17 +0100 | [diff] [blame] | 18 | Overview |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 19 | ************************ |
| 20 | |
| 21 | Following illustration provides a global view about **ORAN** architecture, |
| 22 | integration with other ONAP components and API resource/operation provided. |
| 23 | |
elinuxhenrik | 42fb47f | 2020-11-17 17:43:28 +0100 | [diff] [blame] | 24 | .. image:: ../media/ONAP-A1ControllerArchitecture.png |
Singal, Kapil (ks220y) | 535be96 | 2020-10-07 12:59:08 -0400 | [diff] [blame] | 25 | :width: 500pt |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 26 | |
| 27 | |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 28 | API Version |
| 29 | *********** |
| 30 | |
| 31 | APIs are described with a state version with "v" following the API Name, |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 32 | e.g.: ``v2/policy``. |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 33 | The schema associated with a REST API must have its version number aligned |
| 34 | with that of the REST API. |
| 35 | |
| 36 | The version number has major, minor and revision numbers. E.g. v1.0.0 |
| 37 | The version number (without the revision number) is held in the URI. |
| 38 | |
| 39 | The major version number is incremented for an incompatible change. |
| 40 | The minor version number is incremented for a compatible change. |
| 41 | For minor modifications of the API, version numbering must not be updated, |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 42 | |
| 43 | For major modifications of the API, not backward compatible and forcing client |
PatrikBuhr | 66cf324 | 2021-03-08 12:33:17 +0100 | [diff] [blame] | 44 | implementations to be changed, the major version number must be updated. |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 45 | |
| 46 | |
| 47 | API Table |
| 48 | ********* |
| 49 | |
| 50 | .. |swagger-icon| image:: ../media/swagger.png |
| 51 | :width: 40px |
| 52 | |
elinuxhenrik | 9bb9a4c | 2020-10-08 14:36:37 +0200 | [diff] [blame] | 53 | .. |yaml-icon| image:: ../media/yaml_logo.png |
| 54 | :width: 40px |
| 55 | |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 56 | |
| 57 | .. csv-table:: |
elinuxhenrik | 9bb9a4c | 2020-10-08 14:36:37 +0200 | [diff] [blame] | 58 | :header: "API name", "|swagger-icon|", "|yaml-icon|" |
| 59 | :widths: 10,5, 5 |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 60 | |
elinuxhenrik | 9bb9a4c | 2020-10-08 14:36:37 +0200 | [diff] [blame] | 61 | "PMS API", ":download:`link <./swagger/pms-api.json>`", ":download:`link <./swagger/pms-api.yaml>`" |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 62 | "A1 ADAPTER API (Internal)", ":download:`link <./swagger/a1-adapter-api.json>`", ":download:`link <./swagger/a1-adapter-api.yaml>`" |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 63 | |
| 64 | |
Singal, Kapil (ks220y) | 535be96 | 2020-10-07 12:59:08 -0400 | [diff] [blame] | 65 | .. _pms_api: |
| 66 | |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 67 | PMS API |
| 68 | ....... |
| 69 | `PMS API <./pms-api.html>`_ |
| 70 | |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 71 | .. _a1_adapter_api: |
| 72 | |
| 73 | A1 ADAPTER API |
| 74 | .............. |
| 75 | `A1 ADAPTER API (Internal) <./a1-adapter-api.html>`_ |
| 76 | |