Format of the Sources ? Translation through WC API ?

Options
Hello,I have two questions concerning Sources and Translation:
  • In which format do we get the sources via the
    API ?
  • Are
    we able to do the translation on the flow of the information through the
    API (like with the Web access)?

Best Regards

Nabil

Best Answer

  • Irfan.Khan
    Irfan.Khan LSEG
    Answer ✓

    @nabil.hassoumi

    I think you are referring to the attribute "webLinks" which is called Sources in WC1 UI.

    Sources tab in UI displays a list of links that may potential negative news about the entity. The Sources tab in UI is provided in the array "webLinks" in the API.

    For the first question, webLinks in API is an array which contains three fields in it. Please find the format of each attribute below:

    "caption" : string

    "tags": <string> array

    "uri": string

    For your second question, the links provided in the API do not re direct to World Check which happens in the UI which gives the WC1 UI the capability to translate the content. API just displays the link and the user has to extract the link from the API response and open it in a browser, hence the translating responsibilities falls on the browser itself as the doc does not open in the WC UI app.

Answers