question

Upvotes
Accepted
28 9 8 14

Incorrect format for links in PermId RSS feed


When a RSS document is requested using a URL such as:

https://permid.org/atom/instrument?access-token=XXX

the links in the returned Atom document look as follows:

<link rel="next" href="https://api.thomsonreuters.com/permid/atom/instrument&offset=50&length=50" />

 <link rel="self" href="https://api.thomsonreuters.com/permid/atom/instrument&offset=0&length=50" /> 

<link rel="first" href="https://api.thomsonreuters.com/permid/atom/instrument&offset=0&length=40" />

 <link rel="last" href="https://api.thomsonreuters.com/permid/atom/instrument&offset=100&length=40" />

but instead of containing:

&offset=50

it should be:

?offset=50

The links as they currently stand are not valid and can't be retrieved

Regards,
David
permid-apiintelligent-tagging-apiopen-permid-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Contacted CLF HelpDesk to verify the problem.

Hello @jirapongse.phuriphanvichai,

Do you have an update on this inquiry?

thanks

Upvotes
Accepted
78.8k 250 52 74

@david.snowsill

I found that the problem has been resolved. The returned response is:

 <link rel="next" href="https://api.thomsonreuters.com/permid/atom/instrument?offset=50&length=50" />
    <link rel="self" href="https://api.thomsonreuters.com/permid/atom/instrument?offset=0&length=50" />
    <link rel="first" href="https://api.thomsonreuters.com/permid/atom/instrument?offset=0&length=50" />
    <link rel="last" href="https://api.thomsonreuters.com/permid/atom/instrument?offset=100&length=30" />
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks for your help with this. Are there any updates on the other issues I have opened?
Regards,
David

Upvotes
78.8k 250 52 74

@david.snowsill

Yes, you are correct. It should be ?offset=50 instead of &offset=50.

I will contact the support team to verify it.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@david.snowsill

The estimated plan for the fix of this issue is on next month (10 June).

Has this fix been rolled out yet?

Regards,

David

The links are still incorrect. I have contacted the support team to verify it.

Upvotes
28 9 8 14

Thanks for the update
David

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.