blob: f9f12de4325064839357cd4040a2f9432939c1b1 [file] [log] [blame]
Rishi.Chail5272dca2021-02-23 12:14:24 +00001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
shivasubedi44beaa32021-09-13 15:16:30 +01003.. Copyright (C) 2021 Nordix Foundation
Rishi.Chail5272dca2021-02-23 12:14:24 +00004
5.. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
Ruslan Kashapov55dc6542021-03-02 16:48:41 +02006.. _design:
Rishi.Chail5272dca2021-02-23 12:14:24 +00007
8
Ruslan Kashapov55dc6542021-03-02 16:48:41 +02009CPS Design
10##########
11
shivasubedi44beaa32021-09-13 15:16:30 +010012.. warning:: draft
13
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020014.. toctree::
15 :maxdepth: 1
16
17Offered APIs
18============
Rishi.Chail5272dca2021-02-23 12:14:24 +000019
Rishi.Chail85aebca2021-02-24 15:10:58 +000020CPS supports the public APIs listed in the link below:
21
shivasubedi44beaa32021-09-13 15:16:30 +010022:download:`CPS Rest OpenApi Specification <api/swagger/cps/openapi.yaml>`
23
24:download:`CPS NCMP RestOpenApi Specification <api/swagger/ncmp/openapi.yaml>`
Rishi.Chail5272dca2021-02-23 12:14:24 +000025
Rishi.Chail5272dca2021-02-23 12:14:24 +000026Exposed API
27-----------
28
Rishi.Chail85aebca2021-02-24 15:10:58 +000029The standard for API definition in the RESTful API world is the OpenAPI Specification (OAS).
Rishi.Chail4359d282021-03-03 16:36:26 +000030The OAS 3, which is based on the original "Swagger Specification", is being widely used in API developments.
Rishi.Chail5272dca2021-02-23 12:14:24 +000031
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020032Specification can be accessed using following URI:
Rishi.Chail5272dca2021-02-23 12:14:24 +000033
34.. code-block:: bash
35
36 http://<hostname>:<port>/v3/api-docs?group=cps-docket”
ToineSiebelink98c07872021-04-20 17:33:09 +010037
38CPS Path
39========
40
41Several CPS APIs use the cps-path (or cpsPath in Java API) parameter.
42The CPS Path is described in detail in :doc:`cps-path`.