Closed nataliaratnikova closed 9 years ago
Nodes API is no longer available in dmwmmon/datasvc
both problems are fixed in 1.0.2, due for release in October.
Natalia, there's a pre-release on phedex-web-dev if you'd like to test it.
Thank you for a swift fix. On phedex-web-dev, I still see problem with storageusage API query for all nodes where T* now behaves as T% described above, i.e. only one node info is returned, the node name being 'T2_HU_Budapest' this time.
I think you need to add the 'time_create' argument to your call, to get results older than the default time window.
Yes! $url"/storageusage?time_since=0&time_until=10000000000&node=T*" returns everything. Thanks!
API online documentation says:
required inputs: node node node name, could be multiple, all(T*). {...}
The output of corresponding query for all nodes: "https://cmsweb.cern.ch/dmwmmon/datasvc/perl/storageusage?node=T*" contains no node information: 'NODE' => undef
The % in the input node parameter is also accepted: "https://cmsweb.cern.ch/dmwmmon/datasvc/perl/storageusage?node=T%" the node in the output is defined and contains records for T1_US_FNAL only (at least in my case).
Both documentation and the API code need an update.