Swagger for TRKD Json api

Hello,

is the Swagger Document available for the TRKD JSON api?

For a SpringBoot application is essential to generate the response model.

Thank you

Andrea


Best Answer

Answers

  • Thank you, this is a good start.

    However I noticed that the Fault schema has a missing property "value" inside Fault/Reason/Text, only "lang" is provided. It is supposed to be okay?

    Are there public json schema definitions available? That would be awesome in order to create an automated code generation and automatic testing enviroment.


    Thank you

    Andrea

  • You can get the sample JSON request and response message from the support site linked earlier. Select the Develop tab and click Inspect.

    image

  • Hi Gurpreet,

    thank you for your reply but I think that's not what I asked: I perfectly know I can access to JSON samples through the TRKD support site. The problem is that the Fault sample JSON is not compliant with the JSON schema provided in the same portal.

    Therefore that portal is under authentication so it's not suitable to be used for an automatic generation of the model; the schema should be accessible pubblicly like the XSD for the SOAP request. ie.

    http://api.rkd.reuters.com/schemas/Faults_1.xsd


    Are these questions out of scope of this community? Should I open a support ticket instead?


    Thank you

    Andrea

  • Yes, please open a support ticket.