Checking an Oracle Radio WebSocket Connection

Send a PING message to confirm that an established Radio WebSocket connection can exchange messages.

Permissions and Prerequisites

The following permissions and prerequisites apply to this operation.

RequirementValue
AuthenticationAuthentication is optional for PING. A PONG response confirms message exchange but doesn't mean that a bearer-token client completed AUTH. See authentication.
Radio permissionNo operation-specific Radio permission is required.
Channel accessNo channel access or channel subscription is required.
Session stateThe WebSocket connection must be open.

Request

Send the PING message as a JSON text message.

NameData typeRequiredDefaultConstraintsDescription
typestringYesNoneMust be PING.Identifies the connection-check operation.
{
  "type": "PING"
}

Responses

The following table lists the messages the client can receive and explains their purpose.

Message typeKindDescription
PONGDirect responseConfirms that the connection can exchange application messages.
ERRORErrorIndicates that the request could not be processed, such as when the JSON message is invalid.

PONG Response

The following table describes the response properties, their data types, and whether they are required.

NameData typeRequiredDescription
typestringYesResponse type. The value is PONG.
timestampstringNoServer date and time in ISO 8601 format.
{
  "type": "PONG",
  "timestamp": "2026-09-02T14:30:00Z"
}