On RDP News, how can I get HAR logs?

I would like to know how to get HAR logs for RDP news in case client face any issue.

Tagged:

Best Answer

  • wasin.w
    wasin.w admin
    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.


    api-7.png

    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.

    api-6.png

    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}

Answers