REST news_items problem

Added by Pasi over 7 years ago

Hi,

I'm using ruby and the following works just fine:

response, body = https.get(path+"news_sources", headers)
puts body

<news-sources type="array">
<news-source>
<name>SIX News Norway</name>
<imageurl>/now/images/loggaSix.gif</imageurl>
sixnn
<sourceid type="integer">50</sourceid>
<level>REALTIME</level>
</news-source>
<news-source>
<name>Cision</name>
...

but when trying the same with news_items:

response, body = https.get(path+"news_items", headers)
puts body

<nil-classes type="array"/>

Now, the nil-classes seem to me as if "news_items" is missing (yet not implemented) in the server side or the REST documentation has incorrect term.

I appreciate if you could you help me on this?
Thanks,

.pasi.


Replies (1)

RE: REST news_items problem - Added by Nordnet Simon over 7 years ago

Hi, unfortunatly we don't have news in the test system, have a look in https://api.test.nordnet.se/projects/api/wiki/Test_system section "Delimitations in the test system".

At the moment we can't add news to the test system.

(1-1/1)