Skip to content

Commit 04b11bd

Browse files
committed
PNDA-4811: Update REST api documentations
1 parent 25b1a71 commit 04b11bd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ To build the Deployment Manager, change to the `api` directory, which contains t
6969

7070
# API Documentation
7171

72+
* [Base URL](#base-url)
7273
* [Repository API](#repository-api)
7374
* [GET /repository/packages](#list-packages-from-the-repository)
7475
* [Packages API](#packages-api)
@@ -90,6 +91,20 @@ To build the Deployment Manager, change to the `api` directory, which contains t
9091
* [Environment Endpoints API](#environment-endpoints-api)
9192
* [GET /environment/endpoints](#list-environment-variables-known-to-the-deployment-manager)
9293

94+
95+
## Base URL
96+
97+
All API paths below are relative to a base URL is defined by schemes, host, port and base path on the root level of this API specification.
98+
99+
```
100+
<scheme>://<host>:<port>/<base path>
101+
```
102+
103+
By default, the API uses 'https' scheme as the transfer protocol. Host is the domain name or hostname that serves the API. In order to access the API outside PNDA security perimeter, it has to via knox service by using the domain name or FQDN when creating a PNDA cluster. The domain name or FQDN must be resolvable via public or private DNS service. To access the deployment management API, the base path, `/gateway/pnda/deployment`, must be used as prefixes for all API paths.
104+
105+
e.g. ```https://knox.example.com:8443/gateway/pnda/deployment```
106+
107+
93108
## Repository API
94109

95110
### List packages from the repository

0 commit comments

Comments
 (0)