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
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code int32
The response code.
data
object[]
The wrapped responding data.
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.
{
"code": 0,
"data": [
{
"host": "string",
"id": "string",
"port": 0,
"protocol": "HTTP",
"type": "openapi",
"uri": "string"
}
],
"msg": "string"
}
Loading...