On RDP News, how can I get HAR logs?
Best Answer
-
Hello @aya.nakamura01
Did you or the client try the steps I suggest above yet? The HAR file capture from the steps above can capture the RDP API request and response messages detail.
I suggest you try and open the saved har file with any text editor, and you will see all the content.
About the News Meta API issue, is it the same issue as this old post? If so, the news API returns only 10 rows of data by default. The data that the client needs might not show in the first response. The client can check if there a "next" node data in a response, the client can request that "next" node value to get the next 10 rows of result (Paging feature).
In the API Playground page, the client can click on the "Next" link to get the nextLink URL and then click a request button again to get the next page of data.
The client can set the "limit" parameter as suggested by my colleague on that old post to specify the number of return data per one API call (min 10, maximum 100). I did a quick test with https://api.refinitiv.com/data/news/v1/metadata?group=Geography&limit=100 and the JP information is in the response message.
I double checked with the request HAR file, it contains the request and response with JP group
{\"id\":\"G:41\",\"label\":\"Japan\",\"group\":\"Geography\",\"readable\":\"Topic:JP\",\"searchable\":true,\"childrenCount\":0}
0
Answers
-
Hello @aya.nakamura01
Not sure if this what the client wants, if the issue can be replicated on the RDP API Playground page.
Firstly, open the web browser and go to the https://apidocs.refinitiv.com/Apps/ApiDocs page --> Navigate to the endpoint (example: /data/news/v1/headlines)
Then open a browser developer tool (each browser has different way to open it, I am demonstrating with Edge).
See more in a comment (cont).
0 -
(Cont).
On the Developer Tool, open a "Network" Tab.
Then click on the send request button on the API Playground page, the request that being sent will be shown on the developer tools.
0 -
(Cont).
Right Click the request --> Choose "Save all as Har with Content" option.
0 -
@wasin.w Thank you so much! It is clear now.
0 -
@wasin.w I have additional question. Using this end point, https://api.refinitiv.com/data/news/v1/metadata to get geography subgroup. There was an issue last week that "JP" was missing but we couldn't find the root cause. I was told next time we need to get the HAR logs. Can you advise me if above log will provide me the HAR logs based on "request"?
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛