question

Upvotes
Accepted
28 5 5 13

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
intelligent-tagging-apipermid-apiopen-permid-api
icon clock
10 |1500

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

Upvotes
Accepted
38.1k 71 35 53

@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 5.0 MiB each and 10.0 MiB total.

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

Upvotes
38.1k 71 35 53

@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 5.0 MiB each and 10.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 5 5 13

Thanks for the update
David

icon clock
10 |1500

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

Click below to post an Idea Post Idea