CIAM Clientid, hostname, password, and user are required inputs during authentication for price linkage. We ask you to check hostnmae's information.
Hello @kibeom
Thank you for contacting us.
Do you mean you want the RTO WebSocket Examples to check the hostname as the required parameter, or do you want how to get the hostname information?
If you want the list of RTO WebSocket endpoints, you can perform the following steps:
Firstly, log in to RDP using CIAM account to
the http://api.refinitiv.com/auth/oauth2/v2/token endpoint
curl -X POST \ 'https://api.refinitiv.com/auth/oauth2/v2/token' \ --header 'Accept: */*' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'client_id={client_id}' \ --data-urlencode 'client_secret={client_secret}' \ --data-urlencode 'scope=trapi' \ --data-urlencode 'grant_type=client_credentials'
Then you get the access token information, please use that access token in the next command to get list of the RTO endpoints
curl -X GET \ 'https://api.refinitiv.com/streaming/pricing/v1/?transport=websocket' \ --header 'Accept: */*' \ --header 'Authorization: Bearer <access token>'