perfsonar-user - [perfsonar-user] Question on PERFSonar Client REST Interface
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Lucas Tang <>
- To: "" <>
- Subject: [perfsonar-user] Question on PERFSonar Client REST Interface
- Date: Wed, 10 Aug 2016 10:50:58 +0000
- Accept-language: en-US
- Authentication-results: spf=softfail (sender IP is 10.152.252.60) smtp.mailfrom=outlook.com; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=fail action=none header.from=outlook.com;
- Ironport-phdr: 9a23:bC+F1hKmNRzLpPyL1NmcpTZWNBhigK39O0sv0rFitYgUKv/xwZ3uMQTl6Ol3ixeRBMOAtKIC1rGd6v2ocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TXhpQIVT1/nOBB7PePzE5SXkt+6zciz/YHeeQNFmGD7bL9vZl3itQjLuNIRh4J4b7sqxwHho31Udv5QyH8yY1+fgkCvyN23+ctH7i9ZoLod/shPGfH+Yq8xVvpEBTIpG2co+MnsshqFRgyKsChPGl4KmwZFVlCWpCrxWY3853P3
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi,
I would like to ask if there is a way to retrieve only the latest data from the REST Interface?
As of now, I'm using "time-range" parameter with an arbitrary number, hoping I can get the most result result, and the reverse all of the results, taking the first index, and then breaking out of the loop. It is rather inefficient, and takes a long time if the dataset is huge. I have tried using the "limit" option as well however I noticed it retrieves the first X results as opposed to the last X.
With that, can you assist on finding a way to retrieve only the latest result?
Regards, Lucas |
- [perfsonar-user] Question on PERFSonar Client REST Interface, Lucas Tang, 08/10/2016
- Re: [perfsonar-user] Question on PERFSonar Client REST Interface, Andrew Lake, 08/10/2016
Archive powered by MHonArc 2.6.19.