Scope
Actively end an Adventure Travel. Before calling, confirm the following:
- The primary API Key is not required; either the primary or a temporary API Key can call it.
- The Travel must not yet have entered a terminal state and must be in a state the server can end. Confirm via Query Travel Status.
- Either your server or your client can call it.
Authorizations
QwenCloud API Key. Only the primary API Key (sk- prefix) is supported. See Get an API Key.
Header Parameters
Request content type. This parameter must be set to application/json.
API Key authentication. The primary API Key is not required; either the primary or a temporary API Key can call it. Primary API Key: starts with sk-, e.g. sk-xxx. Temporary API Key: starts with st-, e.g. st-xxx.
Body
application/jsonThe Adventure encrypted Travel ID to end. Returned by Enter Travel (Client).
The failure end reason for a no-stream timeout. When omitted, it is treated as a normal end. Currently only supported: TRAVEL_NO_STREAM_AUTO_END (for the scenario where no stream is received after entering the room for longer than noStreamAutoEndTimeoutSec; this end type does not generate replay artifacts). Passing an unsupported value returns 400000.
SDK or client version identifier. A non-empty string; takes precedence over the HTTP User-Agent.