Data hosts

If a dialog project exchanges data with an external system using a server-side integration, you need to configure a data host for this project.

A data host provides information about the web service that will handle the data requests, such as the URL of the web service, an alias, and so on.

For more information about configuring data hosts, see the workflow for server-side integration.

Get data hosts

GET /v4/builds/{buildLabel}/data-hosts

Retrieve the list of data hosts for the build and application specified.

Responses

Status Meaning Description Schema
200 OK List of data hosts mix.api.ListDataHostsResponse
401 Unauthorized Request could not be authorized Inline
404 Not Found Build not found Inline
500 Internal Server Error Internal server error Inline
default Default An unexpected error response. grpc.gateway.runtime.Error

Example responses

  200 response  

Get latest data hosts

GET /v4/apps/{applicationId}/projects/{projectId}/data-hosts/.latest

Retrieve the list of the data hosts associated with the last generated dialog build.

Responses

Status Meaning Description Schema
200 OK List of data hosts mix.api.ListLatestDataHostsResponse
401 Unauthorized Request could not be authorized Inline
404 Not Found Build not found Inline
500 Internal Server Error Internal server error Inline
default Default An unexpected error response. grpc.gateway.runtime.Error

Example responses

  200 response