I would like to know how to get HAR logs for RDP news in case client face any issue.
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}
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).
(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.
Right Click the request --> Choose "Save all as Har with Content" option.
@wasin.w Thank you so much! It is clear now.
@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"?