HttpGateway-APP

HttpGateway API

 Features of the HttpGateway App

The HttpGateway App is the central HTTPS entrypoint into your d.velop cloud.

By using the HttpGateway App, all apps of the d.velop cloud are securely available over HTTPS through a common base address. This allows apps running on different servers to be available to your users through a single common domain name. The HttpGateway App also implements the multitenancy system of the d.velop cloud as described in the basics.

The HttpGateway App furthermore provides an API for programmatic access. This for example allows your apps to automatically discover, which other apps are installed to integrate with these apps, even if at the time of deployment, those apps are not known yet.

 Using API functions

Here you will learn, how to use the HttpGatway API for your own apps.

 List all subscribed apps

You can find the URL to list all subscribed apps as a link relation by sending a GET request to the HttpGateway API:

Request


    GET /httpgateway
Accept: application/hal+json

Response


{
    "_links":{
        "apps":{
          "href": "/httpgateway/conf/apps"
        }
    }
}

Follow the link relation named apps

Request


    GET /httpgateway/conf/apps
Accept: application/hal+json

Response


{
	"apps": [
		{ "app": "config" },
		{ "app": "home" },
		{ "app": "httpgateway" },
		{ "app": "identityprovider" },
		{ "app": "shell" },
		{ "app": "task" },
		{ "app": "usermanagement" }
	]
}

The response contains an array named apps. Each entry of this array describes one app. The property app contains the name of the app

The apps listed by the HttpGateway API are available through https://_base uri_/_appName_.