Skip to main content

Get service unit endpoint

GET 

/dwsu/:dwServiceUnitId/endpoint

Gets endpoint information of the specified service unit. Ensure that the specified service unit exists. Otherwise, the operation will fail.

Request

Path Parameters

    dwServiceUnitId stringrequired

    The ID of the service unit.

    Example: dw54321

Responses

OK

Schema

    code int32

    The response code.

    data

    object[]

    The wrapped responding data.

  • Array [

  • host string

    The name of the host used by the endpoint.

    id string

    The ID of the endpoint.

    port int32

    The port number used by the endpoint.

    protocol string

    Possible values: [HTTP, HTTPS, JDBC]

    The protocol used by the endpoint.

    type string

    Possible values: [openapi, web_console, database]

    The type of the endpoint.

    uri string

    The URI of the endpoint.

  • ]

  • msg string

    The response message.

Loading...