question

Upvotes
Accepted
8 4 6 17

REST and TREP ADS/ADH: how to get the itemdb/cache?

I'm trying to use the REST API on my ADH/ADS 3.4.

By example, the below URL is working fine and give me all my config:

http://myserver:1234/configs?securityKey=myPassword

But I can't get the cache. By example, the below URL is not working:

http://myserver:1234/idemdb/cache?securityKey=myPassword (Error 404)

elektronrefinitiv-realtimetreprest-apiinfrastructure
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
23k 22 9 14

Hello @nicolas.roux,

I am really not an expert on this.

Try:

http://myserver:1234/idemdb/state?securityKey=myPassword 

This should work, as worked for me right away.

It seems that to call

http://myserver:1234/idemdb/cache?securityKey=myPassword

You have to have something already in cache, so first request an item, and then try calling this again.

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
8 4 6 17

Thanks a lot Zoya.

The itemdb/state is working fine.

And regarding the cache, it's also working when cacheLocation=ssl. Which make sense!

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